https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sphinx/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sphinx/__pycache__/deprecation.cpython-310.pyc
o

�$�a��@s�dZddlZddlZddlmZddlmZmZmZGdd�de	�Z
Gdd�de�Ze
Z
ifd	ed
eeefdeedeeefd
df
dd�ZGdd�d�ZGdd�de�ZdS)z�
    sphinx.deprecation
    ~~~~~~~~~~~~~~~~~~

    Sphinx deprecation classes and utilities.

    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
import_module)�Any�Dict�Typec@�eZdZdS)�RemovedInSphinx50WarningN��__name__�
__module__�__qualname__�rr�4/usr/lib/python3/dist-packages/sphinx/deprecation.pyr�rc@r)�RemovedInSphinx60WarningNrrrrr
rrr�modname�objects�warning�names�returncCs"t|�}t|||||�tj|<dS�N)r�_ModuleWrapper�sys�modules)rrrr�modulerrr
�deprecated_aliass
�rc@sTeZdZdededeeefdeedeeefddfdd	�Z	d
edefdd�Z
dS)
rrrrrrrNcCs"||_||_||_||_||_dSr)�_module�_modname�_objects�_warning�_names)�selfrrrrrrrr
�__init__$s

z_ModuleWrapper.__init__�namecCsr||jvrt|j|�S|j�|d�}|dur&tjd�|j||�|j	dd�ntjd�|j|�|j	dd�|j|S)Nz^The alias '{}.{}' is deprecated, use '{}' instead. Check CHANGES for Sphinx API modifications.���
stacklevelz@{}.{} is deprecated. Check CHANGES for Sphinx API modifications.)
r�getattrrr�get�warnings�warn�formatrr)r r"�canonical_namerrr
�__getattr__.s
�
�
z_ModuleWrapper.__getattr__)r	r
rr�strr�objectr�Warningr!r,rrrr
r#s

��
�
�
rcs�eZdZdZdededeeddf�fdd�Zd	ed
e	ddf�fdd�Z
dd	ed
e	de	f�fdd�
Zd	eddf�fdd�Zdd	ed
e	de	f�fdd�
Z
deddf�fdd�Z�ZS)�DeprecatedDictz-A deprecated dict which warns on each access.�data�messagerrNcs||_||_t��|�dSr)r2r�superr!)r r1r2r��	__class__rr
r!BszDeprecatedDict.__init__�key�valuecs&tj|j|jdd�t��||�dS�N�r$)r(r)r2rr3�__setitem__)r r6r7r4rr
r:GszDeprecatedDict.__setitem__�defaultc�"tj|j|jdd�t��||�Sr8)r(r)r2rr3�
setdefault�r r6r;r4rr
r=K�zDeprecatedDict.setdefaultcs tj|j|jdd�t��|�Sr8)r(r)r2rr3�__getitem__)r r6r4rr
r@OszDeprecatedDict.__getitem__cr<r8)r(r)r2rr3r'r>r4rr
r'Sr?zDeprecatedDict.get�othercs$tj|j|jdd�t��|�dSr8)r(r)r2rr3�update)r rAr4rr
rBWszDeprecatedDict.updater)r	r
r�__doc__rr-rr/r!rr:r=r@r'rB�
__classcell__rrr4r
r0?s"r0)rCrr(�	importlibr�typingrrr�DeprecationWarningr�PendingDeprecationWarningr�RemovedInNextVersionWarningr-r.r/rr�dictr0rrrr
�<module>s$
��
�
�

https://t.me/RX1948 - 2025