Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
python310
/
lib64
/
python3.10
/
lib2to3
/
fixes
/
__pycache__
[ HOME ]
Exec
Submit
File Name : fix_import.cpython-310.opt-2.pyc
o �=?h� � @ sX d dl mZ ddlmZmZmZmZ d dlmZm Z m Z dd� ZG dd� dej�Z d S ) � )� fixer_base� )�dirname�join�exists�sep)� FromImport�syms�tokenc c s� � | g}|rR|� � }|jtjkr|jV n8|jtjkr)d�dd� |jD ��V n%|jtj kr8|� |jd � n|jtjkrJ|�|jd d d� � nt d��|sd S d S )N� c S s g | ]}|j �qS � )�value)�.0Zchr r �?/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_import.py� <listcomp> s z$traverse_imports.<locals>.<listcomp>r ���zunknown node type)�pop�typer �NAMEr r Zdotted_namer �childrenZdotted_as_name�appendZdotted_as_names�extend�AssertionError)�namesZpending�noder r r �traverse_imports s � �r c s4 e Zd ZdZdZ� fdd�Zdd� Zdd� Z� ZS ) � FixImportTzj import_from< 'from' imp=any 'import' ['('] any [')'] > | import_name< 'import' imp=any > c s"