Add stubs for pkgutils (#431)

* py3 done (py2 pass empty)

* remove dangling importlib

* importlib.abc only exists in py3
This commit is contained in:
Valérian Rousset
2016-08-04 00:40:37 +02:00
committed by Matthias Kramm
parent d315ceb060
commit 5a5138aa1e
2 changed files with 31 additions and 9 deletions

View File

@@ -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: ...