HEX
Server: LiteSpeed
System: Linux s787.bom1.mysecurecloudhost.com 4.18.0-477.13.1.lve.el8.x86_64 #1 SMP Thu Jun 1 16:40:47 EDT 2023 x86_64
User: mobilech (5348)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/lib/python3.6/site-packages/docutils/readers/__pycache__/pep.cpython-36.pyc
3

�O�@sNdZdZddlmZddlmZmZmZmZddl	m
Z
Gdd�dej�ZdS)	z+
Python Enhancement Proposal (PEP) Reader.
ZreStructuredText�)�
standalone)�peps�
references�misc�frontmatter)�rstc@sFeZdZdZddffZdZdZdd�Zd	d	d
�Ze	j
jZddd
�Z
dS)�Reader�pepzPEP Reader Option DefaultszfThe --pep-references and --rfc-references options (for the reStructuredText parser) are on by default.z
pep reader�readers�standalone readercCsJtjj|�}|jtj�|jtj�|jtj�|jt	j
t	jt	jg�|S)N)
rr�get_transforms�removerZDocTitleZSectionSubTitleZDocInfo�extendrZHeadersZContentsZTargetNotes)�selfZ
transforms�r�/usr/lib/python3.6/pep.pyrszReader.get_transforms�)Zpep_referencesZrfc_referencesNcCs.|dkrtjd|j�d�}tjj||d�dS)z`parser` should be ``None``.NT)Zrfc2822Zinliner�)rZParser�
inliner_classrr�__init__)r�parserZparser_namerrrr,szReader.__init__)r	)r
r)NN)�__name__�
__module__�__qualname__Z	supportedZ
settings_specZconfig_sectionZconfig_section_dependenciesrZsettings_default_overridesrZstatesZInlinerrrrrrrrs	
rN)�__doc__Z
__docformat__Zdocutils.readersrZdocutils.transformsrrrrZdocutils.parsersrrrrrr�<module>s