From: Joe Date: Sat, 15 Aug 2020 03:19:41 +0000 (+0800) Subject: Make `name` in httpx.__init__ private (#1177) X-Git-Tag: 0.14.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1729e45031dda2ad121ae10a5855b2bed92ee179;p=thirdparty%2Fhttpx.git Make `name` in httpx.__init__ private (#1177) --- diff --git a/httpx/__init__.py b/httpx/__init__.py index c46e74b1..5f503cd0 100644 --- a/httpx/__init__.py +++ b/httpx/__init__.py @@ -112,6 +112,6 @@ __all__ = [ _locals = locals() -for name in __all__: - if not name.startswith("__"): - setattr(_locals[name], "__module__", "httpx") # noqa +for _name in __all__: + if not _name.startswith("__"): + setattr(_locals[_name], "__module__", "httpx") # noqa