| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/docutils/readers/__pycache__/ |
Upload File : |
a
OԼa�
� @ sl d Z dZddlZddlmZ ddlmZmZmZ ddl m
Z
G dd� de�ZG d d
� d
e�Zi Z
dd� ZdS )
z0
This package contains Docutils Reader modules.
ZreStructuredText� N)�
import_module)�utils�parsers� Component)� universalc @ sJ e Zd ZdZdZdZdd� Zddd�Zd d
� Zdd� Z d
d� Z
dd� ZdS )�Readera9
Abstract base class for docutils Readers.
Each reader module or package must export a subclass also called 'Reader'.
The two steps of a Reader's responsibility are to read data from the
source Input object and parse the data with the Parser object.
Call `read()` to process a document.
�readerZreadersc C s t �| �tjtjtjg S �N)r �get_transformsr ZDecorationsZExposeInternalsZ
StripComments��self� r
�=/usr/lib/python3.9/site-packages/docutils/readers/__init__.pyr
! s
�zReader.get_transformsNc C s, || _ |du r|r| �|� d| _d| _dS )z�
Initialize the Reader instance.
Several instance attributes are defined with dummy initial values.
Subclasses may use these attributes as they wish.
N)�parser�
set_parser�source�input)r r �parser_namer
r
r �__init__'