D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
lib64
/
python3.6
/
__pycache__
/
Filename :
runpy.cpython-36.opt-1.pyc
back
Copy
3 \�. � @ s d Z ddlZddlZddlZddlZddlmZmZ ddgZ G dd� de �ZG dd � d e �Zd d d�Z d!dd �Zefdd�ZG dd� de�Zd"dd�Zd#dd�Zefdd�Zdd� Zd$dd�Zedk� r�eej�dk � r�edejd� nejd= eejd � 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)� read_code�get_importer� run_module�run_pathc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_TempModulezCTemporarily replace a module in sys.modules with an empty namespacec C s || _ tj|�| _g | _d S )N)�mod_name�types� ModuleType�module� _saved_module)�selfr � r �/usr/lib64/python3.6/runpy.py�__init__ s z_TempModule.__init__c C sB | j }y| jjtj| � W n tk r0 Y nX | jtj|<