Your IP : 216.73.216.172


Current Path : /lib/python3/dist-packages/libpasteurize/fixes/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/libpasteurize/fixes/__pycache__/fix_memoryview.cpython-38.pyc

U

,�]'�@s2dZddlmZddlmZGdd�dej�ZdS)zo
Fixer for memoryview(s) -> buffer(s).
Explicit because some memoryview methods are invalid on buffer objects.
�)�
fixer_base)�Namec@seZdZdZdZdd�ZdS)�
FixMemoryviewTzi
              power< name='memoryview' trailer< '(' [any] ')' >
              rest=any* >
              cCs |d}|�td|jd��dS)N�name�buffer)�prefix)�replacerr)�selfZnodeZresultsr�r
�D/usr/lib/python3/dist-packages/libpasteurize/fixes/fix_memoryview.py�	transformszFixMemoryview.transformN)�__name__�
__module__�__qualname__ZexplicitZPATTERNrr
r
r
rr
srN)�__doc__Zlib2to3rZlib2to3.fixer_utilrZBaseFixrr
r
r
r�<module>s