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

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


��Qc@sCdZddlmZddlmZdejfd��YZdS(sVRemove __future__ imports

from __future__ import foo is replaced with an empty line.
i(t
fixer_base(t	BlankLinet	FixFuturecBs#eZeZdZdZd�ZRS(s;import_from< 'from' module_name="__future__" 'import' any >i
cCst�}|j|_|S(N(Rtprefix(tselftnodetresultstnew((s./sys/lib/python2.7/lib2to3/fixes/fix_future.pyt	transforms	(t__name__t
__module__tTruet
BM_compatibletPATTERNt	run_orderR(((s./sys/lib/python2.7/lib2to3/fixes/fix_future.pyRsN(t__doc__tRt
fixer_utilRtBaseFixR(((s./sys/lib/python2.7/lib2to3/fixes/fix_future.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 webmaster@9p.io.