File: //lib/python3/dist-packages/docutils/readers/__pycache__/pep.cpython-312.pyc
�
�dd� � �^ � d Z dZddlmZ ddlmZmZ ddlmZ G d� dej � Z y) z+
Python Enhancement Proposal (PEP) Reader.
�reStructuredText� )�
standalone)�peps�frontmatter)�rstc �n � � e Zd ZdZ dZdZdZ� fd�Zddd�Ze j j Zd d�Z
� xZS )
�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 �Z �� t �| � � }|j t j � |j t j
� |j t j � |j t j t j t j g� |S )N)�super�get_transforms�remover �DocTitle�SectionSubTitle�DocInfo�extendr �Headers�Contents�TargetNotes)�self�
transforms� __class__s ��6/usr/lib/python3/dist-packages/docutils/readers/pep.pyr zReader.get_transforms su �� ��W�+�-�
����+�.�.�/����+�5�5�6����+�-�-�.����4�<�<�����8H�8H�I�J��� � )�pep_references�rfc_referencesc � � |�%t j d| j � �� }t j j | |d� y)z`parser` should be ``None``.NT)�rfc2822�inliner� )r �Parser�
inliner_classr r �__init__)r �parser�parser_names r r&