Your IP : 3.149.249.84


Current Path : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/fix_imports.cpython-33.pyo

�
��f4c@s�dZddlmZddlmZmZi0dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d;d<6d=d>6d?d@6dAdB6dCdD6dCdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dPdR6dPdS6dTdU6dVdW6dVdX6dYdZ6d[d\6Zd]d^�Zed_d`�ZGdadb�dbej	�Z
dcS(du/Fix incompatible imports and module references.i(u
fixer_base(uNameu
attr_chainuiouStringIOu	cStringIOupickleucPickleubuiltinsu__builtin__ucopyregucopy_reguqueueuQueueusocketserveruSocketServeruconfigparseruConfigParserureprlibureprutkinter.filedialogu
FileDialogutkFileDialogutkinter.simpledialoguSimpleDialogutkSimpleDialogutkinter.colorchooserutkColorChooserutkinter.commondialogutkCommonDialogutkinter.dialoguDialogutkinter.dnduTkdndutkinter.fontutkFontutkinter.messageboxutkMessageBoxutkinter.scrolledtextuScrolledTextutkinter.constantsuTkconstantsutkinter.tixuTixutkinter.ttkuttkutkinteruTkinteru_markupbaseu
markupbaseuwinregu_winregu_threaduthreadu
_dummy_threadudummy_threadudbm.bsdudbhashudbm.dumbudumbdbmudbm.ndbmudbmudbm.gnuugdbmu
xmlrpc.clientu	xmlrpclibu
xmlrpc.serveruDocXMLRPCServeruSimpleXMLRPCServeruhttp.clientuhttplibu
html.entitiesuhtmlentitydefsuhtml.parseru
HTMLParseruhttp.cookiesuCookieuhttp.cookiejaru	cookielibuhttp.serveruBaseHTTPServeruSimpleHTTPServeru
CGIHTTPServeru
subprocessucommandsucollectionsu
UserStringuUserListuurllib.parseuurlparseuurllib.robotparserurobotparsercCsddjtt|��dS(Nu(u|u)(ujoinumapurepr(umembers((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu
alternates=su
alternatesccsbdjdd�|D��}t|j��}d||fVd|Vd||fVd|VdS(Nu | cSsg|]}d|�qS(umodule_name='%s'((u.0ukey((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu
<listcomp>Bs	u!build_pattern.<locals>.<listcomp>uyname_import=import_name< 'import' ((%s) |
               multiple_imports=dotted_as_names< any* (%s) any* >) >
          u�import_from< 'from' (%s) 'import' ['(']
              ( any | import_as_name< any 'as' any > |
                import_as_names< any* >)  [')'] >
          u�import_name< 'import' (dotted_as_name< (%s) 'as' any > |
               multiple_imports=dotted_as_names<
                 any* dotted_as_name< (%s) 'as' any > any* >) >
          u3power< bare_with_attr=(%s) trailer<'.' any > any* >(ujoinu
alternatesukeys(umappingumod_listu
bare_names((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu
build_patternAs	u
build_patterncsz|EeZdZdZdZeZdZdd�Z	�fdd�Z
�fdd�Z�fdd	�Zd
d�Z
�S(
u
FixImportsicCsdjt|j��S(Nu|(ujoinu
build_patternumapping(uself((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu
build_pattern`suFixImports.build_patterncs&|j�|_tt|�j�dS(N(u
build_patternuPATTERNusuperu
FixImportsucompile_pattern(uself(u	__class__(u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyucompile_patterncsuFixImports.compile_patterncsdtt|�j��|�}|r`d|kr\t�fdd�t|d�D��r\dS|SdS(Nubare_with_attrc3s|]}�|�VqdS(N((u.0uobj(umatch(u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu	<genexpr>qsu#FixImports.match.<locals>.<genexpr>uparentF(usuperu
FixImportsumatchuanyu
attr_chainuFalse(uselfunodeuresults(u	__class__(umatchu>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyumatchjs(uFixImports.matchcs&tt|�j||�i|_dS(N(usuperu
FixImportsu
start_treeureplace(uselfutreeufilename(u	__class__(u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu
start_treevsuFixImports.start_treecCs�|jd�}|r�|j}|j|}|jt|d|j��d|krc||j|<nd|kr�|j|�}|r�|j||�q�q�nH|dd}|jj|j�}|r�|jt|d|j��ndS(Numodule_nameuprefixuname_importumultiple_importsubare_with_attri(ugetuvalueumappingureplaceuNameuprefixumatchu	transform(uselfunodeuresultsu
import_modumod_nameunew_nameu	bare_name((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu	transformzs	
uFixImports.transformT(u__name__u
__module__u__qualname__uTrueu
BM_compatibleukeep_line_orderuMAPPINGumappingu	run_orderu
build_patternucompile_patternumatchu
start_treeu	transform(u
__locals__((u	__class__u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu
FixImportsUsu
FixImportsN(u__doc__uu
fixer_baseu
fixer_utiluNameu
attr_chainuMAPPINGu
alternatesu
build_patternuBaseFixu
FixImports(((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_imports.pyu<module>sj



?>