Skip to content

Commit 970d11c

Browse files
committed
Explicitly export error and path from py
Required by mypy 1.7.0
1 parent d4c56c7 commit 970d11c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/py.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88

99
sys.modules["py.error"] = error
1010
sys.modules["py.path"] = path
11+
12+
__all__ = ["error", "path"]

0 commit comments

Comments
 (0)