| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/docutils/readers/__pycache__/ |
Upload File : |
�
@x#[G � �D � d Z ddlmZmZmZ G d� dej � � ZdS )z#Reader for existing document trees.� )�readers�utils�
transformsc �$ � e Zd ZdZdZdZdZd� 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 reader)r c �
� | j | _ t j | j � � | j _ | j | j _ t
j | j � dd� � | j j � � | j _ dS )zp
No parsing to do; refurbish the document tree instead.
Overrides the inherited method.
�source� N)
�input�documentr �Transformer�transformer�settingsr �new_reporter�get�reporter)�selfs �:/usr/lib/python3/dist-packages/docutils/readers/doctree.py�parsezReader.parse so � �
�
��
� %/�$:�4�=�$I�$I��
�!�!%���
�� "'�!3��M���h��+�+�T�]�-C�"E� "E��
���� N)�__name__�
__module__�__qualname__�__doc__� supported�config_section�config_section_dependenciesr � r r r r
sD � � � � � �
�
� �I�%�N�".��E� E� E� E� Er r N)r �docutilsr r r �ReReaderr r r r �<module>r"