%PDF- %PDF-
Direktori : /usr/local/lib/python3.8/importlib/__pycache__/ |
Current File : //usr/local/lib/python3.8/importlib/__pycache__/abc.cpython-38.pyc |
U paI2 @ s d Z ddlmZ ddlmZ ddlmZ zddlZW n2 ek rf Z zejdkrR dZW 5 dZ[X Y nX zddl Z W n& ek r Z zeZ W 5 dZ[X Y nX ddl Z ddlZdd ZG d d de j dZG d d deZeeejejejej G dd deZeeej G dd de j dZG dd deZG dd deZeeejej G dd deZeeej G dd dejeeZeeejej G dd dejeeZeeej G dd de j dZeeej dS )z(Abstract base classes related to import. ) _bootstrap)_bootstrap_external) machinery N_frozen_importlibc G s\ |D ]R}| | td k rztt|j}W n tk rJ tt|j}Y nX | | qd S )N)registerr getattr__name__AttributeError_frozen_importlib_external)abstract_clsclassescls frozen_cls r )/usr/local/lib/python3.8/importlib/abc.py _register s r c @ s e Zd ZdZejdddZdS )Findera< Legacy abstract base class for import finders. It may be subclassed for compatibility with legacy third party reimplementations of the import system. Otherwise, finder implementations should derive from the more specific MetaPathFinder or PathEntryFinder ABCs. Deprecated since Python 3.3 Nc C s dS )zAn abstract method that should find a module. The fullname is a str and the optional path is a str or None. Returns a Loader object or None. Nr )selffullnamepathr r r find_module* s zFinder.find_module)N)r __module____qualname____doc__abcabstractmethodr r r r r r s r ) metaclassc @ s e Zd ZdZdd Zdd ZdS )MetaPathFinderz8Abstract base class for import finders on sys.meta_path.c C s<