Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/libpasteurize/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/libpasteurize/fixes/fix_annotations.pyo
�
,�]c@sbdZddlmZddlmZddlmZdZd�Zdej	fd��YZ
d	S(
u&
Fixer to remove function annotations
i����(t
fixer_base(ttoken(tsymsu)Removing function annotations completely.cCs|jdS(Ni(tchildren(tnode((sG/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_annotations.pytparam_without_annotationsstFixAnnotationscBs&eZeZd�ZdZd�ZRS(cCs,|js(t|_|j|d|�ndS(Ntreason(twarnedtTruetwarning(tselfRR((sG/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_annotations.pyt	warn_onces		um
              funcdef< 'def' any parameters< '(' [params=any] ')' > ['->' ret=any] ':' any* >
              cCs
|jd�}|jd�}|dk	rW|j|dt�|jj�|j�n|dkrgdS|jtjkr�x�|j	D]A}|jtj
kr�|j|dt�|jt|��q�q�Wn;|jtj
kr|j|dt�|jt|��ndS(uK
        This just strips annotations from the funcdef completely.
        uparamsuretRN(
tgettNoneRtwarning_texttprev_siblingtremovettypeRt
typedargslistRttnametreplaceR(RRtresultstparamstrettparam((sG/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_annotations.pyt	transforms 

(t__name__t
__module__tFalseRRtPATTERNR(((sG/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_annotations.pyRs	N(t__doc__tlib2to3Rt
lib2to3.pgen2Rtlib2to3.fixer_utilRRRtBaseFixR(((sG/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_annotations.pyt<module>s	

Spamworldpro Mini