diff --git a/httpx/__init__.py b/httpx/__init__.py index d9ae3513ad..c46e74b1b3 100644 --- a/httpx/__init__.py +++ b/httpx/__init__.py @@ -109,3 +109,9 @@ "DigestAuth", "WSGITransport", ] + + +_locals = locals() +for name in __all__: + if not name.startswith("__"): + setattr(_locals[name], "__module__", "httpx") # noqa