HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/root/usr/lib/python3/dist-packages/debian/__pycache__/deprecation.cpython-310.pyc
o

���a��@s@dZddlZz
ddlmZmZWn	eyYnwdd�ZdS)z& Utility module to deprecate features �N)�Any�Callablecs@z�j}Wn
ty�jj}Ynwd|���fdd�}|S)z� Return a function that warns it is deprecated by another function.

        Returns a new function that warns it is deprecated by function
        ``func``, then acts as a pass-through wrapper for ``func``.

    zUse %s insteadcstj�tdd��|i|��S)N�)�
stacklevel)�warnings�warn�DeprecationWarning)�args�kwargs��func�warn_msg��4/usr/lib/python3/dist-packages/debian/deprecation.py�deprecated_func0sz/function_deprecated_by.<locals>.deprecated_func)�__name__�AttributeError�__func__)r�	func_namerrrr�function_deprecated_by#s
�r)�__doc__r�typingrr�ImportErrorrrrrr�<module>s�