Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
docutils
/
readers
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: pep.cpython-310.pyc
o @x#[ � @ sN d Z dZddlmZ ddlmZmZmZmZ ddl m Z G dd� dej�ZdS ) z+ Python Enhancement Proposal (PEP) Reader. �reStructuredText� )� standalone)�peps� references�misc�frontmatter)�rstc @ sB e Zd ZdZ dZdZdZdd� Zddd�Ze j jZdd d�Z d S ) �Reader)�pep)zPEP Reader Option DefaultszfThe --pep-references and --rfc-references options (for the reStructuredText parser) are on by default.� z pep reader)�readerszstandalone readerc C sJ t j�| �}|�tj� |�tj� |�tj� |�t j t jt jg� |S )N) r r �get_transforms�remover �DocTitle�SectionSubTitle�DocInfo�extendr �Headers�Contents�TargetNotes)�self� transformsr r �6/usr/lib/python3/dist-packages/docutils/readers/pep.pyr s zReader.get_transforms� )�pep_references�rfc_referencesNc C s. |du r t jd| �� d�}tj�| |d� dS )z`parser` should be ``None``.NT)�rfc2822�inliner� )r �Parser� inliner_classr r �__init__)r �parser�parser_namer r r r! , s zReader.__init__)NN)�__name__� __module__�__qualname__� supported� settings_spec�config_section�config_section_dependenciesr �settings_default_overridesr �states�Inlinerr r! r r r r r s r N)�__doc__� __docformat__�docutils.readersr �docutils.transformsr r r r �docutils.parsersr r r r r r �<module> s
Save
Cancel