• File: fix_methodattrs.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/lib2to3/fixes/__pycache__/fix_methodattrs.cpython-37.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 932 bytes
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

Rj^@s>dZddlmZddlmZddddZGdd	d	ejZd
S)z;Fix bound method attributes (method.im_? -> method.__?__).
)
fixer_base)Name__func____self__z__self__.__class__)Zim_funcZim_selfZim_classc@seZdZdZdZddZdS)FixMethodattrsTzU
    power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
    cCs.|dd}t|j}|t||jddS)Nattr)prefix)MAPvaluereplacerr	)selfZnodeZresultsrnewrB/opt/alt/python37/lib64/python3.7/lib2to3/fixes/fix_methodattrs.py	transforms
zFixMethodattrs.transformN)__name__
__module____qualname__Z
BM_compatibleZPATTERNrrrrrrsrN)__doc__rZ
fixer_utilrr
ZBaseFixrrrrr<module>s