????
Current Path : /usr/lib/python3.6/site-packages/libpasteurize/fixes/__pycache__/ |
Current File : //usr/lib/python3.6/site-packages/libpasteurize/fixes/__pycache__/fix_features.cpython-36.opt-1.pyc |
3 �cs � @ sJ d Z ddlmZmZ ddlmZ dddddd d!d"gZG dd� dej�ZdS )#z� Warn about features that are not present in Python 2.5, giving a message that points to the earliest version of Python 2.x (or 3.x, if none) that supports it � )�Feature�Features� )� fixer_base� memoryview�4power < 'memoryview' trailer < '(' any* ')' > any* >�2.7�numbers��import_from< 'from' 'numbers' 'import' any* > | import_name< 'import' ('numbers' dotted_as_names< any* 'numbers' any* >) >�2.6�abc�yimport_name< 'import' ('abc' dotted_as_names< any* 'abc' any* >) > | import_from< 'from' 'abc' 'import' any* >�io�vimport_name< 'import' ('io' dotted_as_names< any* 'io' any* >) > | import_from< 'from' 'io' 'import' any* >�bin�+power< 'bin' trailer< '(' any* ')' > any* >� formatting�<power< any trailer< '.' 'format' > trailer< '(' any* ')' > >�nonlocal�global_stmt< 'nonlocal' any* >�3.0�with_traceback�trailer< '.' 'with_traceback' >c sF e Zd ZdZe� Zedd� eD ��Zej Z � fdd�Z dd� Z� ZS )�FixFeatures� c C s g | ]\}}}t |||��qS � )r )�.0�name�pattern�versionr r �"/usr/lib/python3.6/fix_features.py� <listcomp>; s zFixFeatures.<listcomp>c s4 t t| �j|�}y |d= W n tk r. Y nX |S )N�node)�superr �match� Exception)�selfr"