o
    lÛ‚iT  ã                   @   sv   U d dl Z d dlmZ d dlmZmZ i Zeedf ed< i Z	eedf ed< edƒZ
dedee
ge
f fd	d
„ZdS )é    N)ÚCallable)ÚAnyÚTypeVarÚ_BACK_COMPAT_OBJECTSÚ_MARKED_WITH_COMPATIBILITYÚ_TÚis_backward_compatibleÚreturnc                 C   s0   | rdt dt fdd„}|S dt dt fdd„}|S )NÚfnr	   c                 S   s<   t  t| dd ƒp	d¡}|d7 }|| _t | ¡ t | ¡ | S )NÚ__doc__Ú zC
.. note::
    Backwards-compatibility for this API is guaranteed.
)ÚtextwrapÚdedentÚgetattrr   r   Ú
setdefaultr   ©r
   Ú	docstring© r   úZ/home/ubuntu/maya3_transcribe/venv/lib/python3.10/site-packages/torch/fx/_compatibility.pyÚmark_back_compat   s   

z'compatibility.<locals>.mark_back_compatc                 S   s2   t  t| dd ƒp	d¡}|d7 }|| _t | ¡ | S )Nr   r   zM
.. warning::
    This API is experimental and is *NOT* backward-compatible.
)r   r   r   r   r   r   r   r   r   r   Úmark_not_back_compat   s
   
z+compatibility.<locals>.mark_not_back_compat)r   )r   r   r   r   r   r   Úcompatibility   s
   
r   )r   Úcollections.abcr   Útypingr   r   r   ÚdictÚ__annotations__r   r   Úboolr   r   r   r   r   Ú<module>   s   
  