HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/docutils/readers/__pycache__/doctree.cpython-36.opt-1.pyc
3

:�pDG�@s.dZddlmZmZmZGdd�dej�ZdS)z#Reader for existing document trees.�)�readers�utils�
transformsc@s$eZdZdZdZdZd	Zdd�ZdS)
�Readera
    Adapt the Reader API for an existing document tree.

    The existing document tree must be passed as the ``source`` parameter to
    the `docutils.core.Publisher` initializer, wrapped in a
    `docutils.io.DocTreeInput` object::

        pub = docutils.core.Publisher(
            ..., source=docutils.io.DocTreeInput(document), ...)

    The original document settings are overridden; if you want to use the
    settings of the original document, pass ``settings=document.settings`` to
    the Publisher call above.
    �doctreezdoctree readerrcCsD|j|_tj|j�|j_|j|j_tj|jjdd�|jj�|j_	dS)zp
        No parsing to do; refurbish the document tree instead.
        Overrides the inherited method.
        �source�N)
�inputZdocumentrZTransformerZtransformerZsettingsrZnew_reporter�getZreporter)�self�r�/usr/lib/python3.6/doctree.py�parse s

zReader.parseN)r)r)�__name__�
__module__�__qualname__�__doc__Z	supportedZconfig_sectionZconfig_section_dependenciesrrrrr
r
s
rN)rZdocutilsrrrZReReaderrrrrr
�<module>s