Your IP : 216.73.216.196
B
6��]# � @ sn d Z ddlZdZdZdZdZG dd� de�ZG d d
� d
e�ZG dd� d�Z G d
d� 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)r � r �finalr T� c @ s e Zd Zejdk rdd� ZdS )�ApplicationError)� � c C s d� | j�S )Nz, )�join�args)�self� r �B/opt/alt/python37/lib/python3.7/site-packages/docutils/__init__.py�__unicode__v s zApplicationError.__unicode__N)�__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 ZdZdZdZdZdZdZdZ dS )�SettingsSpecz�
Runtime setting specification base class.
SettingsSpec subclass objects used by `docutils.frontend.OptionParser`.
r 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� ZdZdZdS )�
TransformSpecz�
Runtime transform specification base class.
TransformSpec subclass objects used by `docutils.transforms.Transformer`.
c C s, | j dkr(ddl}|�dt� t| j �S g S )z;Transforms required by this class. Override in subclasses.r 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_transformsr N)r r r r r r Zunknown_reference_resolversr r r r r � s
r c @ s e Zd ZdZdZdZdd� ZdS )� Componentz#Base class for Docutils components.Nr c 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 Z
__docformat__�__version__Z__version_info__Z__version_details__� Exceptionr r r r r r r r r �<module>3 s
I.