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: //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