mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 01:23:24 +08:00
Add stubs for pkgutils (#431)
* py3 done (py2 pass empty) * remove dangling importlib * importlib.abc only exists in py3
This commit is contained in:
committed by
Matthias Kramm
parent
d315ceb060
commit
5a5138aa1e
@@ -1,9 +0,0 @@
|
||||
# Stubs for importlib
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import Any
|
||||
|
||||
# TODO more precise type?
|
||||
def import_module(name: str, package: str = ...) -> Any: ...
|
||||
def invalidate_caches() -> None: ...
|
||||
Reference in New Issue
Block a user