| 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=&b � �z � d Z dZddlmZ ddlmZ G d� de� � Z G d� de� � Z G d � d
e� � ZdS )z
Miscellaneous transforms.
�reStructuredText� )�nodes)� Transformc � � e Zd ZdZdZd� ZdS )�CallBacka�
Inserts a callback into a document. The callback is called when the
transform is applied, which is determined by its priority.
For use with `nodes.pending` elements. Requires a ``details['callback']``
entry, a bound method or function which takes one parameter: the pending
node. Other data can be stored in the ``details`` attribute or in the
object hosting the callback method.
i� c �t � | j } |j d |� � |j � |� � d S )N�callback)� startnode�details�parent�remove)�self�pendings �:/usr/lib/python3/dist-packages/docutils/transforms/misc.py�applyzCallBack.apply s<