| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/docutils/transforms/__pycache__/ |
Upload File : |
�
N=&bg+ � � � d Z dZddlZddlZddlZddlmZmZmZ ddlm Z ddl
mZ ddl
mZm
Z
mZ G d� d e� � Z G d
� de� � Z G d� d
e� � Z G d� de� � Z G d� dej � � ZdZdd�ZdS )z�
Transforms for PEP processing.
- `Headers`: Used to transform a PEP's initial RFC-2822 header. It remains a
field list, but some entries get processed.
- `Contents`: Auto-inserts a table of contents.
- `PEPZero`: Special processing for PEP 0.
�reStructuredText� N)�nodes�utils� languages)� DataError)� Transform)�parts�
references�miscc �x � e Zd ZdZdZdZdZ ej dej � � df ej d� � dffZ
d� Zd S )
�Headersz<
Process fields in a PEP's initial RFC-2822 header.
ih zpep-%04dz3http://hg.python.org/peps/file/default/pep-%04d.txtz\$RCSfile: (.+),v \$$z\1z\$[a-zA-Z]+: (.+) \$$c �$ � t | j � � st d� � �| j d }t |t j � � r
d|d vrt d� � �d }|D �]S}|d � � � � � � dk �r|d � � � } t |� � }| j |z }n�# t $ r� |}d }| j j � d|z |� � � }| j �
|� � }t j ||pd
|�� � }| j �
|� � } |� | � � t |d � � r|g|d d d d �<