B
    <[#                 @   sn   d Z ddlZdZdZdZdZG dd deZG d	d
 d
eZG dd dZ	G dd dZ
G dd de	e
ZdS )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.
    NZreStructuredTextz0.14)r      r   finalr   T c               @   s   e Zd Zejdk rdd ZdS )ApplicationError)      c             C   s   d | jS )Nz, )joinargs)self r   0lib/python3.7/site-packages/docutils/__init__.py__unicode__v   s    zApplicationError.__unicode__N)__name__
__module____qualname__sysversion_infor   r   r   r   r   r   p   s   
r   c               @   s   e Zd ZdS )	DataErrorN)r   r   r   r   r   r   r   r   z   s    r   c               @   s(   e Zd ZdZdZdZdZdZdZdZ	dS )SettingsSpecz
    Runtime setting specification base class.

    SettingsSpec subclass objects used by `docutils.frontend.OptionParser`.
    r   N)
r   r   r   __doc__Zsettings_specZsettings_defaultsZsettings_default_overridesZrelative_path_settingsZconfig_sectionZconfig_section_dependenciesr   r   r   r   r   }   s   'r   c               @   s    e Zd ZdZdd ZdZdZdS )TransformSpecz
    Runtime transform specification base class.

    TransformSpec subclass objects used by `docutils.transforms.Transformer`.
    c             C   s,   | j dkr(ddl}|dt 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    

zTransformSpec.get_transformsr   N)r   r   r   r   r   r   Zunknown_reference_resolversr   r   r   r   r      s
   r   c               @   s    e Zd ZdZdZdZdd ZdS )	Componentz#Base class for Docutils components.Nr   c             C   s
   || j kS )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    zComponent.supports)r   r   r   r   Zcomponent_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.