File: //lib/python3.6/site-packages/docutils/__pycache__/__init__.cpython-36.pyc
3
s2�e# � @ sn d Z ddlZdZdZdZdZG d d
� d
e�ZG dd� de�ZG d
d� d�Z G dd� d�Z
G dd� de e
�ZdS )a]
This is the Docutils (Python Documentation Utilities) package.
Package Structure
=================
Modules:
- __init__.py: Contains component base classes, exception classes, and
Docutils version information.
- core.py: Contains the ``Publisher`` class and ``publish_*()`` convenience
functions.
- frontend.py: Runtime settings (command-line interface, configuration files)
processing, for Docutils front-ends.
- io.py: Provides a uniform API for low-level input and output.
- nodes.py: Docutils document tree (doctree) node class library.
- statemachine.py: A finite state machine specialized for
regular-expression-based text filters.
Subpackages:
- languages: Language-specific mappings of terms.
- parsers: Syntax-specific input parser modules or packages.
- readers: Context-specific input handlers which understand the data
source and manage a parser.
- transforms: Modules used by readers and writers to modify DPS
doctrees.
- utils: Contains the ``Reporter`` system warning class and miscellaneous
utilities used by readers, writers, and transforms.
utils/urischemes.py: Contains a complete mapping of known URI addressing
scheme names to descriptions.
- utils/math: Contains functions for conversion of mathematical notation
between different formats (LaTeX, MathML, text, ...).
- writers: Format-specific output translators.
� NZreStructuredTextz0.14� �finalT� c @ s e Zd Zejdk rdd� ZdS )�ApplicationError� � c C s dj | j�S )Nz, )�join�args)�self� r �/usr/lib/python3.6/__init__.py�__unicode__v s zApplicationError.__unicode__N)r r )�__name__�
__module__�__qualname__�sys�version_infor
r r r r r p s
r c @ s e Zd ZdS )� DataErrorN)r r r r r r r r z s r c @ s( e Zd ZdZf ZdZdZf ZdZdZ dS )�SettingsSpecz�
Runtime setting specification base class.
SettingsSpec subclass objects used by `docutils.frontend.OptionParser`.
N)
r r r �__doc__Z
settings_specZsettings_defaultsZsettings_default_overridesZrelative_path_settingsZconfig_sectionZconfig_section_dependenciesr r r r r } s 'r c @ s e Zd ZdZdd� Zf Zf ZdS )�
TransformSpecz�
Runtime transform specification base class.
TransformSpec subclass objects used by `docutils.transforms.Transformer`.
c C s, | j f kr(ddl}|jdt� t| j �S g S )z;Transforms required by this class. Override in subclasses.r NzMdefault_transforms attribute deprecated.
Use get_transforms() method instead.)�default_transforms�warnings�warn�DeprecationWarning�list)r
r r r r �get_transforms� s
zTransformSpec.get_transformsN)r r r r r r Zunknown_reference_resolversr r r r r � s
r c @ s e Zd ZdZdZf Zdd� ZdS )� Componentz#Base class for Docutils components.Nc C s
|| j kS )z�
Is `format` supported by this component?
To be used by transforms to ask the dependent component if it supports
a certain input context or output format.
)� supported)r
�formatr r r �supports� s zComponent.supports)r r r r Zcomponent_typer r r r r r r � s r )r r r r r T)r r Z
__docformat__�__version__Z__version_info__Z__version_details__� Exceptionr r r r r r r r r �<module>3 s
I.