Skip to content

Commit b0cfafd

Browse files
cdelerj178
andauthored
Set __module__ = "httpcore" for all over the public API (#148) (#158)
Co-authored-by: Joe <[email protected]>
1 parent c98a9a0 commit b0cfafd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

httpcore/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,9 @@
5050
"PlainByteStream",
5151
]
5252
__version__ = "0.10.1"
53+
54+
__locals = locals()
55+
56+
for name in __all__:
57+
if not name.startswith("__"):
58+
setattr(__locals[name], "__module__", "httpcore") # noqa

0 commit comments

Comments
 (0)