| Server IP : 167.99.254.82 / Your IP : 216.73.216.229 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/docutils/readers/__pycache__/ |
Upload File : |
o
gJ^�
� @ 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.
�reStructuredText� 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.
�reader�readersc C s t �| �tjtjtjg S �N)r �get_transformsr �Decorations�ExposeInternals�
StripComments��self� r �;/usr/lib/python3/dist-packages/docutils/readers/__init__.pyr ! s
�zReader.get_transformsNc C s0 || _ |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__'