ok
Direktori : /opt/alt/python38/lib64/python3.8/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/lib2to3/fixes/__pycache__/fix_imports.cpython-38.opt-1.pyc |
U .��c4 � 1 @ s� d Z ddlmZ ddlmZmZ ddddddd d dddd d ddddddddddddddddddd d!d"d"d#d$d%d&d'd(d(d(d)d*d*d+d,d-�0Zd.d/� Zefd0d1�ZG d2d3� d3ej �Z d4S )5z/Fix incompatible imports and module references.� )� fixer_base)�Name� attr_chain�io�pickle�builtins�copyregZqueueZsocketserverZconfigparser�reprlibztkinter.filedialogztkinter.simpledialogztkinter.colorchooserztkinter.commondialogztkinter.dialogztkinter.dndztkinter.fontztkinter.messageboxztkinter.scrolledtextztkinter.constantsztkinter.tixztkinter.ttkZtkinterZ_markupbase�winreg�_threadZ _dummy_threadzdbm.bsdzdbm.dumbzdbm.ndbmzdbm.gnuz xmlrpc.clientz xmlrpc.serverzhttp.clientz html.entitieszhtml.parserzhttp.cookieszhttp.cookiejarzhttp.server� subprocess�collectionszurllib.parsezurllib.robotparser)0�StringIOZ cStringIOZcPickleZ__builtin__Zcopy_regZQueueZSocketServerZConfigParser�reprZ FileDialogZtkFileDialogZSimpleDialogZtkSimpleDialogZtkColorChooserZtkCommonDialogZDialogZTkdndZtkFontZtkMessageBoxZScrolledTextZTkconstantsZTixZttkZTkinterZ markupbase�_winreg�threadZdummy_threadZdbhashZdumbdbmZdbmZgdbmZ xmlrpclibZDocXMLRPCServerZSimpleXMLRPCServerZhttplibZhtmlentitydefsZ HTMLParserZCookieZ cookielibZBaseHTTPServerZSimpleHTTPServerZ CGIHTTPServerZcommands� UserString�UserListZurlparseZrobotparserc C s dd� tt| �� d S )N�(�|�))�join�mapr )�members� r �>/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_imports.py� alternates= s r c c sT 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"