Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python27
/
lib
/
python2.7
/
site-packages
/
libpasteurize
/
fixes
/
File Content:
fix_metaclass.pyc
� �A�[c @ s� d Z d d l m Z d d l m Z m Z m Z m Z m Z m Z d d l m Z d d l m Z m Z d � Z d e j f d � � YZ d S( un Fixer for (metaclass=X) -> __metaclass__ = X Some semantics (see PEP 3115) may be altered in the translation.i����( t fixer_base( t Namet symst Nodet Leaft Newlinet find_root( t token( t indentationt suitifyc C s� d } xw| j D]l} | j } | j t j k r� | d t t j d � k r|| d t t j d � k r|| d r|| g | } Pq|q | j t j k r x� | j D]� } | r� Pn | j t j k r� | } q� t | � t k r� d } } } x� | j D]v } | t t j d � k r| } q� | rF| t t j d � k rF| } q� | r� | r� | } | | | | f } Pq� q� Wq� q� Wq q W| S( Ni u metaclassi u =i ( t Nonet childrent typeR t argumentR R t NAMEt EQUALt arglistt COMMAR ( t parentt resultst nodet kidst childt commat metat equalt namet arg( ( sR /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_metaclass.pyt has_metaclass s6 t FixMetaclassc B s e Z d Z d � Z RS( u classdef<any*> c C sD t | � } | s d Sx | D] } | j � q Wt t j d � } t t j d d d �} | } d | _ t t j | | | g � } t | � x� | j D]� } | j t j k r� x� | j D]z } | j t j k r� | j j | � d } t t j | j � } | j | | � | j | t � � | j | | � Pq� q� Wq� q� Wd S( Nu __metaclass__u =t prefixu i ( R t removeR R R R R R R t atomR R R t suitet INDENTt indext valuet insert_childR ( t selfR R t meta_resultsR t targetR R t stmt_nodet itemt stmtt loct ident( ( sR /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_metaclass.pyt transform5 s* ( t __name__t __module__t PATTERNR. ( ( ( sR /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_metaclass.pyR / s N( t __doc__t lib2to3R t lib2to3.fixer_utilR R R R R R t lib2to3.pygramR t libfuturize.fixer_utilR R R t BaseFixR ( ( ( sR /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_metaclass.pyt <module> s . $
Submit
FILE
FOLDER
Name
Size
Permission
Action
__init__.py
3719 bytes
0644
__init__.pyc
974 bytes
0644
__init__.pyo
974 bytes
0644
feature_base.py
1723 bytes
0644
feature_base.pyc
2985 bytes
0644
feature_base.pyo
2985 bytes
0644
fix_add_all__future__imports.py
676 bytes
0644
fix_add_all__future__imports.pyc
1309 bytes
0644
fix_add_all__future__imports.pyo
1309 bytes
0644
fix_add_all_future_builtins.py
1269 bytes
0644
fix_add_all_future_builtins.pyc
1430 bytes
0644
fix_add_all_future_builtins.pyo
1430 bytes
0644
fix_add_future_standard_library_import.py
663 bytes
0644
fix_add_future_standard_library_import.pyc
1233 bytes
0644
fix_add_future_standard_library_import.pyo
1233 bytes
0644
fix_annotations.py
1581 bytes
0644
fix_annotations.pyc
2253 bytes
0644
fix_annotations.pyo
2153 bytes
0644
fix_division.py
904 bytes
0644
fix_division.pyc
1724 bytes
0644
fix_division.pyo
1724 bytes
0644
fix_features.py
2675 bytes
0644
fix_features.pyc
3399 bytes
0644
fix_features.pyo
3399 bytes
0644
fix_fullargspec.py
438 bytes
0644
fix_fullargspec.pyc
1063 bytes
0644
fix_fullargspec.pyo
1063 bytes
0644
fix_future_builtins.py
1450 bytes
0644
fix_future_builtins.pyc
1758 bytes
0644
fix_future_builtins.pyo
1758 bytes
0644
fix_getcwd.py
873 bytes
0644
fix_getcwd.pyc
1352 bytes
0644
fix_getcwd.pyo
1352 bytes
0644
fix_imports.py
4944 bytes
0644
fix_imports.pyc
4403 bytes
0644
fix_imports.pyo
4403 bytes
0644
fix_imports2.py
8580 bytes
0644
fix_imports2.pyc
10321 bytes
0644
fix_imports2.pyo
10321 bytes
0644
fix_kwargs.py
5991 bytes
0644
fix_kwargs.pyc
4791 bytes
0644
fix_kwargs.pyo
4674 bytes
0644
fix_memoryview.py
551 bytes
0644
fix_memoryview.pyc
1144 bytes
0644
fix_memoryview.pyo
1144 bytes
0644
fix_metaclass.py
3260 bytes
0644
fix_metaclass.pyc
2668 bytes
0644
fix_metaclass.pyo
2668 bytes
0644
fix_newstyle.py
888 bytes
0644
fix_newstyle.pyc
1582 bytes
0644
fix_newstyle.pyo
1582 bytes
0644
fix_next.py
1233 bytes
0644
fix_next.pyc
1891 bytes
0644
fix_next.pyo
1858 bytes
0644
fix_printfunction.py
401 bytes
0644
fix_printfunction.pyc
991 bytes
0644
fix_printfunction.pyo
991 bytes
0644
fix_raise.py
1099 bytes
0644
fix_raise.pyc
1697 bytes
0644
fix_raise.pyo
1697 bytes
0644
fix_raise_.py
1225 bytes
0644
fix_raise_.pyc
1828 bytes
0644
fix_raise_.pyo
1828 bytes
0644
fix_throw.py
835 bytes
0644
fix_throw.pyc
1497 bytes
0644
fix_throw.pyo
1497 bytes
0644
fix_unpacking.py
5946 bytes
0644
fix_unpacking.pyc
6339 bytes
0644
fix_unpacking.pyo
6339 bytes
0644
N4ST4R_ID | Naxtarrr