Your IP : 18.227.0.21


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_renames.cpython-33.pyo

�
��f�c@s{dZddlmZddlmZmZiidd6d6ZiZdd�Zd	d
�Z	Gdd�dej
�Zd
S(u?Fix incompatible renames

Fixes:
  * sys.maxint -> sys.maxsize
i(u
fixer_base(uNameu
attr_chainumaxsizeumaxintusyscCsddjtt|��dS(Nu(u|u)(ujoinumapurepr(umembers((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyu
alternatessu
alternatesccs{xtttj��D]`\}}xQt|j��D]=\}}|t||f<d|||fVd||fVq2WqWdS(Nu�
                  import_from< 'from' module_name=%r 'import'
                      ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
                  u^
                  power< module_name=%r trailer< '.' attr_name=%r > any* >
                  (ulistuMAPPINGuitemsuLOOKUP(umoduleureplaceuold_attrunew_attr((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyu
build_patterns

u
build_patterncsP|EeZdZdZdje��ZdZ�fdd�Z	dd�Z
�S(u
FixRenamesu|uprecsXtt|�j��|�}|rTt�fdd�t|d�D��rPdS|SdS(Nc3s|]}�|�VqdS(N((u.0uobj(umatch(u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyu	<genexpr>5su#FixRenames.match.<locals>.<genexpr>uparentF(usuperu
FixRenamesumatchuanyu
attr_chainuFalse(uselfunodeuresults(u	__class__(umatchu>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyumatch1s(uFixRenames.matchcCsc|jd�}|jd�}|r_|r_t|j|jf}|jt|d|j��ndS(Numodule_nameu	attr_nameuprefix(ugetuLOOKUPuvalueureplaceuNameuprefix(uselfunodeuresultsumod_nameu	attr_nameunew_attr((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyu	transform>s
uFixRenames.transformT(u__name__u
__module__u__qualname__uTrueu
BM_compatibleujoinu
build_patternuPATTERNuorderumatchu	transform(u
__locals__((u	__class__u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyu
FixRenames*s

u
FixRenamesN(u__doc__uu
fixer_baseu
fixer_utiluNameu
attr_chainuMAPPINGuLOOKUPu
alternatesu
build_patternuBaseFixu
FixRenames(((u>/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_renames.pyu<module>s

?>