Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
libpasteurize
/
fixes
/
__pycache__
/
File Content:
fix_next.cpython-311.pyc
� �|oi� � �p � d Z ddlmZ ddlmZ ddlmZ ddlm Z m Z mZmZ dZ G d� dej � � Zd S ) z? Fixer for: it.__next__() -> it.next(). next(it) -> it.next(). � )�token)�python_symbols)� fixer_base)�Name�Call�find_binding�Attrz;Calls to builtin next() possibly shadowed by global bindingc � � e Zd ZdZd� ZdS )�FixNextas power< base=any+ trailer< '.' attr='__next__' > any* > | power< head='next' trailer< '(' arg=any ')' > any* > | classdef< 'class' base=any+ ':' suite< any* funcdef< 'def' attr='__next__' parameters< '(' NAME ')' > any+ > any* > > c � � |sJ �|� d� � }|� d� � }|� d� � }|� d� � }|r{|� � � }|� t t t |� � |j �� � t d� � � � � � |� � � d S |r+|� t d|j �� � � � d S d S )N�base�attr�head�arg)�prefix�next)�get�clone�replacer r �unicoder �remove)�self�node�resultsr r r �arg_r s �n/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_next.py� transformzFixNext.transform s� � ����w��{�{�7�#�#���{�{�7�#�#���{�{�7�#�#���{�{�6�"�"��� <��*�*�,�,�C��L�L��d�7�3�<�<�t�{�C�C�C�"�7�m�m�-� -� .� .� .��K�K�M�M�M�M�M� � <��L�L��g�d�k�:�:�:�;�;�;�;�;� <� <� N)�__name__� __module__�__qualname__�PATTERNr � r r r r s* � � � � � ��G� <� <� <� <� <r r N)�__doc__� lib2to3.pgen2r �lib2to3.pygramr �syms�lib2to3r �lib2to3.fixer_utilr r r r �bind_warning�BaseFixr r# r r �<module>r, s� ��� � � � � � � � 1� 1� 1� 1� 1� 1� � � � � � � =� =� =� =� =� =� =� =� =� =� =� =�M��<� <� <� <� <�j� � <� <� <� <� <r
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-311.pyc
947 bytes
0644
feature_base.cpython-311.pyc
3446 bytes
0644
fix_add_all__future__imports.cpython-311.pyc
1414 bytes
0644
fix_add_all_future_builtins.cpython-311.pyc
1451 bytes
0644
fix_add_future_standard_library_import.cpython-311.pyc
1235 bytes
0644
fix_annotations.cpython-311.pyc
2873 bytes
0644
fix_division.cpython-311.pyc
1787 bytes
0644
fix_features.cpython-311.pyc
3142 bytes
0644
fix_fullargspec.cpython-311.pyc
1159 bytes
0644
fix_future_builtins.cpython-311.pyc
2102 bytes
0644
fix_getcwd.cpython-311.pyc
1549 bytes
0644
fix_imports.cpython-311.pyc
5096 bytes
0644
fix_imports2.cpython-311.pyc
7630 bytes
0644
fix_kwargs.cpython-311.pyc
6722 bytes
0644
fix_memoryview.cpython-311.pyc
1237 bytes
0644
fix_metaclass.cpython-311.pyc
3764 bytes
0644
fix_newstyle.cpython-311.pyc
1983 bytes
0644
fix_next.cpython-311.pyc
2390 bytes
0644
fix_printfunction.cpython-311.pyc
1034 bytes
0644
fix_raise.cpython-311.pyc
2360 bytes
0644
fix_raise_.cpython-311.pyc
2505 bytes
0644
fix_throw.cpython-311.pyc
1809 bytes
0644
fix_unpacking.cpython-311.pyc
12435 bytes
0644
N4ST4R_ID | Naxtarrr