Skip to content

Commit 87a3fdb

Browse files
committed
[feat] ModuleType available through lazimp
1 parent 7cba181 commit 87a3fdb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lazimp"
7-
version = "0.0.2"
7+
version = "0.0.3"
88
authors = [
99
{ name = "Dorian Turba", email = "dturba.pro@protonmail.com" },
1010
]

src/lazimp/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import collections.abc
22

3+
# noinspection PyUnresolvedReferences
4+
from types import ModuleType
5+
36

47
def lazy_import(
58
bare_import: collections.abc.Container | None = None,

0 commit comments

Comments
 (0)