o
`wi73 @ s d Z ddlZddlZddlZddlZddlZddlZddgZG dd de Z
G dd de Z dd d
Z dddZ
efd
dZG dd deZd ddZ d!ddZefddZdd Zd"ddZedkreejdk r{edejd dS ejd= eejd dS dS )#aZ runpy.py - locating and running Python code using the module namespace
Provides support for locating and running Python scripts using the Python
module namespace instead of the native filesystem.
This allows Python code to play nicely with non-filesystem based PEP 302
importers when locating support scripts as well as when importing modules.
N
run_modulerun_pathc @ s( e Zd ZdZdd Zdd Zdd ZdS ) _TempModulezCTemporarily replace a module in sys.modules with an empty namespacec C s || _ t|| _g | _d S N)mod_nametypes
ModuleTypemodule
_saved_moduleselfr r
/usr/lib/python3.10/runpy.py__init__ s
z_TempModule.__init__c C s@ | j }z| jtj| W n ty Y nw | jtj|<