-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathmachinery.pyi
More file actions
43 lines (40 loc) · 1.47 KB
/
machinery.pyi
File metadata and controls
43 lines (40 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import sys
from importlib._bootstrap import BuiltinImporter as BuiltinImporter, FrozenImporter as FrozenImporter, ModuleSpec as ModuleSpec
from importlib._bootstrap_external import (
BYTECODE_SUFFIXES as BYTECODE_SUFFIXES,
DEBUG_BYTECODE_SUFFIXES as DEBUG_BYTECODE_SUFFIXES,
EXTENSION_SUFFIXES as EXTENSION_SUFFIXES,
OPTIMIZED_BYTECODE_SUFFIXES as OPTIMIZED_BYTECODE_SUFFIXES,
SOURCE_SUFFIXES as SOURCE_SUFFIXES,
ExtensionFileLoader as ExtensionFileLoader,
FileFinder as FileFinder,
PathFinder as PathFinder,
SourceFileLoader as SourceFileLoader,
SourcelessFileLoader as SourcelessFileLoader,
WindowsRegistryFinder as WindowsRegistryFinder,
)
if sys.version_info >= (3, 11):
from importlib._bootstrap_external import NamespaceLoader as NamespaceLoader
if sys.version_info >= (3, 14):
from importlib._bootstrap_external import AppleFrameworkLoader as AppleFrameworkLoader
def all_suffixes() -> list[str]: ...
if sys.version_info >= (3, 14):
__all__ = [
"AppleFrameworkLoader",
"BYTECODE_SUFFIXES",
"BuiltinImporter",
"DEBUG_BYTECODE_SUFFIXES",
"EXTENSION_SUFFIXES",
"ExtensionFileLoader",
"FileFinder",
"FrozenImporter",
"ModuleSpec",
"NamespaceLoader",
"OPTIMIZED_BYTECODE_SUFFIXES",
"PathFinder",
"SOURCE_SUFFIXES",
"SourceFileLoader",
"SourcelessFileLoader",
"WindowsRegistryFinder",
"all_suffixes",
]