Your IP : 3.137.176.238
o
6��f4 � @ s> d dl mZ d dlmZmZ i dd�dd�dd�dd �d
d�dd
�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�d d!�i d"d#�d$d%�d&d'�d(d)�d*d+�d,d-�d.d/�d0d1�d2d3�d4d5�d6d7�d8d9�d:d;�d<d=�d>d?�d@dA�dBdC��dCdDdEdFdGdHdIdIdIdJdKdKdLdMdN��ZdOdP� ZefdQdR�ZG dSdT� dTej�Z dUS )V� )�
fixer_base)�Name�
attr_chain�StringIO�ioZ cStringIOZcPickle�pickleZ__builtin__�builtinsZcopy_reg�copyregZQueue�queueZSocketServerZsocketserverZConfigParserZconfigparser�repr�reprlibZ
FileDialogztkinter.filedialogZtkFileDialogZSimpleDialogztkinter.simpledialogZtkSimpleDialogZtkColorChooserztkinter.colorchooserZtkCommonDialogztkinter.commondialogZDialogztkinter.dialogZTkdndztkinter.dndZtkFontztkinter.fontZtkMessageBoxztkinter.messageboxZScrolledTextztkinter.scrolledtextZTkconstantsztkinter.constantsZTixztkinter.tixZttkztkinter.ttkZTkinterZtkinterZ
markupbaseZ_markupbaseZ_winreg�winreg�thread�_threadZdummy_threadZ
_dummy_threadZdbhashzdbm.bsdZdumbdbmzdbm.dumbZdbmzdbm.ndbmZgdbmzdbm.gnuZ xmlrpclibz
xmlrpc.clientZDocXMLRPCServerz
xmlrpc.serverzhttp.clientz
html.entitieszhtml.parserzhttp.cookieszhttp.cookiejarzhttp.server�
subprocess�collectionszurllib.parsezurllib.robotparser)ZSimpleXMLRPCServerZhttplibZhtmlentitydefsZ
HTMLParserZCookieZ cookielibZBaseHTTPServerZSimpleHTTPServerZ
CGIHTTPServerZcommands�
UserString�UserListZurlparseZrobotparserc C s dd� tt| �� d S )N�(�|�))�join�mapr )�members� r �@/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_imports.py�
alternates= s r c c sV � d� dd� | D ��}t| �� �}d||f V d| V d||f V d| V d S )Nz | c S s g | ]}d | �qS )zmodule_name='%s'r )�.0�keyr r r �
<listcomp>B s z!build_pattern.<locals>.<listcomp>zyname_import=import_name< 'import' ((%s) |
multiple_imports=dotted_as_names< any* (%s) any* >) >
z�import_from< 'from' (%s) 'import' ['(']
( any | import_as_name< any 'as' any > |
import_as_names< any* >) [')'] >
z�import_name< 'import' (dotted_as_name< (%s) 'as' any > |
multiple_imports=dotted_as_names<
any* dotted_as_name< (%s) 'as' any > any* >) >
z3power< bare_with_attr=(%s) trailer<'.' any > any* >)r r �keys)�mappingZmod_listZ
bare_namesr r r �
build_patternA s ����r"