HEX
Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2k-fips
System: Linux f17.eelserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User: zulfiqar (1155)
PHP: 8.2.0
Disabled: mail, exec, system, popen, proc_open, shell_exec, passthru, show_source
Upload Files
File: //usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyc
�
��bc@s[dZddlmZddlmZmZmZmZmZdej	fd��YZ
dS(s�Fixer for callable().

This converts callable(obj) into isinstance(obj, collections.Callable), adding a
collections import if needed.i����(t
fixer_base(tCalltNametStringtAttrttouch_importtFixCallablecBs#eZeZdZdZd�ZRS(tpres
    power< 'callable'
           trailer< lpar='('
                    ( not(arglist | argument<any '=' any>) func=any
                      | func=arglist<(not argument<any '=' any>) any ','> )
                    rpar=')' >
           after=any*
    >
    cCss|d}tddd|�|j�td�g}|jttd�td���ttd�|d|j�S(Ntfuncucollectionstnodeu, uCallableu
isinstancetprefix(	RtNonetcloneRtextendRRRR
(tselfR	tresultsRtargs((s2/usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyt	transforms

"(t__name__t
__module__tTruet
BM_compatibletordertPATTERNR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyR
sN(t__doc__tlib2to3Rtlib2to3.fixer_utilRRRRRtBaseFixR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyt<module>s(