Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
docutils
/
transforms
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: references.cpython-310.pyc
o S��_ߎ � @ s� d Z dZddlZddlZddlmZmZ ddlmZm Z G dd� de �Z G dd � d e �ZG d d� de �ZG dd � d e �Z G dd� de �ZG dd� de �ZG dd� de�ZG dd� de �ZG dd� de �ZG dd� de �ZG dd� dej�ZdS )z& Transforms for resolving references. �reStructuredText� N)�nodes�utils)�TransformError� Transformc @ � e Zd ZdZdZdd� ZdS )�PropagateTargetsa} Propagate empty internal targets to the next element. Given the following nodes:: <target ids="internal1" names="internal1"> <target anonymous="1" ids="id1"> <target ids="internal2" names="internal2"> <paragraph> This is a test. PropagateTargets propagates the ids and names of the internal targets preceding the paragraph to the paragraph itself:: <target refid="internal1"> <target anonymous="1" refid="id1"> <target refid="internal2"> <paragraph ids="internal2 id1 internal1" names="internal2 internal1"> This is a test. i c C sf | j �tj�D ]�}t|jtj�s|�d�s|�d�s|�d�r qt|�dks*J d��|j dd�}|d ur�t|tj �s@t|tj�rFt|tj�r�|d �|d � |d �|d � t|d �s`i |_ t|d�shi |_|d D ] }|| j j|<