H*Ѧ- 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 )Ncallback) startnodedetailsparentremove)selfpendings x/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/docutils/transforms/misc.pyapplyzCallBack.apply s<