Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/lib2to3/fixes/fix_funcattrs.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@sCdZddlmZddlmZdejfd��YZdS(s3Fix function attribute names (f.func_x -> f.__x__).i(t
fixer_base(tNametFixFuncattrscBseZeZdZd�ZRS(s�
    power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals'
                                  | 'func_name' | 'func_defaults' | 'func_code'
                                  | 'func_dict') > any* >
    cCs9|dd}|jtd|jdd|j��dS(Ntattriu__%s__itprefix(treplaceRtvalueR(tselftnodetresultsR((s1/sys/lib/python2.7/lib2to3/fixes/fix_funcattrs.pyt	transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR
(((s1/sys/lib/python2.7/lib2to3/fixes/fix_funcattrs.pyR	sN(t__doc__tRt
fixer_utilRtBaseFixR(((s1/sys/lib/python2.7/lib2to3/fixes/fix_funcattrs.pyt<module>s

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].