← Back
Editing: pep.cpython-311.pyc
� N=&b � �\ � d Z dZddlmZ ddlmZmZ ddlmZ G d� dej � � Z dS ) z+ Python Enhancement Proposal (PEP) Reader. �reStructuredText� )� standalone)�peps�frontmatter)�rstc �P � e Zd ZdZ dZdZdZd� Zddd�Ze j j Zd d �Z dS )�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 �j � t j � | � � }|� t j � � |� t j � � |� t j � � |� t j t j t j g� � |S )N) r r �get_transforms�remover �DocTitle�SectionSubTitle�DocInfo�extendr �Headers�Contents�TargetNotes)�self� transformss �6/usr/lib/python3/dist-packages/docutils/readers/pep.pyr zReader.get_transforms s� � ��&�5�5�d�;�;� ����+�.�/�/�/����+�5�6�6�6����+�-�.�.�.����4�<����8H�I�J�J�J��� � )�pep_references�rfc_referencesNc � � |�(t j d| � � � �� � }t j � | |d� � dS )z`parser` should be ``None``.NT)�rfc2822�inliner� )r �Parser� inliner_classr r �__init__)r �parser�parser_names r r$ zReader.__init__, sH � ��>��Z��d�6H�6H�6J�6J�K�K�K�F���"�"�4���4�4�4�4�4r )NN)�__name__� __module__�__qualname__� supported� settings_spec�config_section�config_section_dependenciesr �settings_default_overridesr �states�Inlinerr# r$ r r r r r sm � � � � � ��I�(��M� "�N�"B��� � � 56��!K�!K���J�&�M�5� 5� 5� 5� 5� 5r r N) �__doc__� __docformat__�docutils.readersr �docutils.transformsr r �docutils.parsersr r r r r �<module>r6 s� �� � � #� � (� '� '� '� '� '� 1� 1� 1� 1� 1� 1� 1� 1� � � � � � �5� 5� 5� 5� 5�Z� � 5� 5� 5� 5� 5r
Save File
Cancel