https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/utils/deprecation.pyc
�
r�\c@sHddlZddlZdefd��YZdefd��YZdS(i����Ntwarn_about_renamed_methodcBseZd�Zd�ZRS(cCs(||_||_||_||_dS(N(t
class_nametold_method_nametnew_method_nametdeprecation_warning(tselfRRRR((s:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pyt__init__s			cs��fd�}|S(Ncs9tjd�j�j�jf�jd��||�S(Ns(`%s.%s` is deprecated, use `%s` instead.i(twarningstwarnRRRR(targstkwargs(tfR(s:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pytwrapped
s

((RRR((RRs:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pyt__call__s(t__name__t
__module__RR
(((s:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pyRs	tRenameMethodsBasecBseZdZdZd�ZRS(s#
    Handles the deprecation paths when renaming a method.

    It does the following:
        1) Define the new method if missing and complain about it.
        2) Define the old method if missing.
        3) Complain whenever an old method is called.

    See #15363 for more details.
    c	Cs)tt|�j||||�}xtj|�D]�}|j}x�|jD]�}|d}|jj|�}	|d}
|jj|
�}|d}t	||�}
|r�|	r�t
jd|||
f|d�t||
|	�t|||
|	��n|	rJ|rJt|||
|��qJqJWq1W|S(Niiis&`%s.%s` method should be renamed `%s`.(
tsuperRt__new__tinspecttgetmroRtrenamed_methodst__dict__tgetRRRtsetattr(tclstnametbasestattrst	new_classtbaseRtrenamed_methodRt
old_methodRt
new_methodRtwrapper((s:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pyR$s(!	






!((RRt__doc__RR(((s:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pyRs
(RRtobjectRttypeR(((s:/tmp/pip-install-XxeQeY/django/django/utils/deprecation.pyt<module>s

https://t.me/AnonymousX5 - 2025