OwlCyberSecurity - MANAGER
Edit File: fix_imports.cpython-311.pyc
� ������hP���������������������������d�Z�ddlmZ�ddlmZmZmZmZ�ddlm Z �ddlmZ�ddl mZmZ�ddlmZ�i�dd �d d�dd �dd�dd�dd�dd�dd�dd�dd�dd�dd�d d!�d"d#�d$d%�d&d'�d(d)�i�d*d+�d,d-�d.d/�d0d1�d2d3�d4d5�d6d7�d8d9�d:d;�d<d=�d>d?�d@dA�dBdC�dDdE�dFdG�dHdI��ZdJZdKZdLZdMZdNZdOZdPZdQZdRZdSZdT��Z�G�dU��dVej��������������������ZdWS�)Xz8 Fixer for standard library imports renamed in Python 3 �����)� fixer_base)�Name�is_probably_builtin�Newline�does_tree_import)�python_symbols)�token)�Node�Leaf��touch_import_top�reprlib�repr�winreg�_winreg�configparser�ConfigParser�copyreg�copy_reg�queue�Queue�socketserver�SocketServer�_markupbase� markupbaseztest.supportztest.test_supportzdbm.bsd�dbhashzdbm.ndbm�dbmzdbm.dumb�dumbdbmzdbm.gnu�gdbmzhtml.parser� HTMLParserz html.entities�htmlentitydefszhttp.client�httplibzhttp.cookies�Cookiezhttp.cookiejar� cookielibztkinter.dialog�Dialogztkinter._fix�FixTkztkinter.scrolledtext�ScrolledTextztkinter.tix�Tixztkinter.constants�Tkconstantsztkinter.dnd�Tkdndztkinter.__init__�Tkinterztkinter.colorchooser�tkColorChooserztkinter.commondialog�tkCommonDialogztkinter.font�tkFontztkinter.ttk�ttkztkinter.messagebox�tkMessageBoxztkinter.turtle�turtlezurllib.robotparser�robotparserz xmlrpc.client� xmlrpclib�builtins�__builtin__z name='%s'z attr='%s'z$dotted_name=dotted_name< %s '.' %s >z%sz"power< %s trailer< '.' %s > any* >zpower< %s any* >z:from_import=import_from< 'from' %s 'import' imported=any >z�from_import_submod=import_from< 'from' %s 'import' (%s | import_as_name< %s 'as' renamed=any > | import_as_names< any* (%s | import_as_name< %s 'as' renamed=any >) any* > ) >zrname_import=import_name< 'import' %s > | name_import=import_name< 'import' dotted_as_name< %s 'as' renamed=any > >zAname_import=import_name< 'import' dotted_as_names< names=any* > >c����������������������d|�v�r�|�����������������������dd������������\��}�}t����������|�z��}t����������|z��}t����������||fz��}t����������|z��}t ����������|||||fz��}t����������||fz��}t����������||fz��}t����������|z��} d� ��������������������||||| f������������S�t����������|�z��}t����������||fz��}t����������|z��}t����������|z��}d� ��������������������|||f������������S�)z� Accepts a string and returns a pattern of possible patterns involving that name Called by simple_mapping_to_pattern for each name in the mapping it receives. �.����� | )�split�simple_name_match� subname_match�dotted_name_match�from_import_match�from_import_submod_match�name_import_match�power_twoname_match�power_subname_match�join�power_onename_match) �name�attr�simple_name�simple_attr�dotted_name�i_from� i_from_submod�i_name�u_name� u_subnames ��� �p/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_imports.py�all_patternsrP���O���s���������t�|�|��Z�Z��a�(�(� ��d�'�4�0��#�t�,��'�;��*D�D��"�k�2��0�K��k�[f�hs�3t�t� �"�k�;�%?�?��$��[�'A�A��'�;�7� ��}�}�f�f�m�V�Y�O�P�P�P�'�4�0��"�k�;�%?�?��"�k�2��$��4���}�}�f�f�f�5�6�6�6�����c�������������������������e�Zd�Zd���������������������d��eD���������������������������Zd���������������������eef������������Zd��ZdS�)� FixImportsr9���c������������������,�����g�|�]}t����������|��������������S���)rP���)�.0rE���s��� rO���� <listcomp>zFixImports.<listcomp>l���s ������D�D�D�D�\�$�/�/�D�D�DrQ���c������������������(�����t����������dd|�������������d�S�)N�future�standard_libraryr���)�self�node�resultss��� rO���� transformzFixImports.transformo���s��������$7��>�>�>�>�>rQ���N)�__name__� __module__�__qualname__rC����MAPPING�PATTERN�multiple_name_import_matchr^���rU���rQ���rO���rS���rS���j���sZ���������������m�m�D�D�G�D�D�D�E�E�G��m�m�W�&@�A�B�B�G�?��?��?��?��?rQ���rS���N) �__doc__�lib2to3r����lib2to3.fixer_utilr���r���r���r����lib2to3.pygramr����syms� lib2to3.pgen2r ����lib2to3.pytreer ���r����libfuturize.fixer_utilr ���rb���r;���r<���r=���rD���rA���rB���r>���r?���r@���rd���rP����BaseFixrS���rU���rQ���rO����<module>rn������s���������������������S��S��S��S��S��S��S��S��S��S��S��S��1��1��1��1��1��1��������������%��%��%��%��%��%��%��%��3��3��3��3��3��3�"�:�w��"��j�"��O�"���{�"���X� "� ��O�"���=� "���0�"���y�"����"��� �"���w�"���=�"���.�"���:�"���I�"� ��l�!"��"�$��i�%"�&��H�'"�(�#�O�)"�*��6�+"�,� ��-"�.��8�/"�0�� �1"�2�#�$5�3"�4�#�$5�5"�6��I�7"�8��6�9"�:�!�/�;"�<��i�="�>�!�.�?"�@��\�A"�B���C"��"��X�!���� �;������;���)���Q����M����J���a���7��7��7�6?��?��?��?��?��#��?��?��?��?��?rQ���