mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
10
builtins/3/imp.pyi
Normal file
10
builtins/3/imp.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
# Stubs for imp
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import TypeVar
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
def cache_from_source(path: str, debug_override: bool = None) -> str: ...
|
||||
def reload(module: _T) -> _T: ... # TODO imprecise signature
|
||||
Reference in New Issue
Block a user