mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add _compat_pickle module (#4001)
* Add _compat_pickle module * Whoops, rename .py to .pyi * Fix value not existing in 3.5
This commit is contained in:
14
stdlib/3/_compat_pickle.pyi
Normal file
14
stdlib/3/_compat_pickle.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
from typing import Dict, Tuple
|
||||
import sys
|
||||
|
||||
IMPORT_MAPPING: Dict[str, str]
|
||||
NAME_MAPPING: Dict[Tuple[str, str], Tuple[str, str]]
|
||||
PYTHON2_EXCEPTIONS: Tuple[str, ...]
|
||||
MULTIPROCESSING_EXCEPTIONS: Tuple[str, ...]
|
||||
REVERSE_IMPORT_MAPPING: Dict[str, str]
|
||||
REVERSE_NAME_MAPPING: Dict[Tuple[str, str], Tuple[str, str]]
|
||||
PYTHON3_OSERROR_EXCEPTIONS: Tuple[str, ...]
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
PYTHON3_IMPORTERROR_EXCEPTIONS: Tuple[str, ...]
|
||||
Reference in New Issue
Block a user