]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Make `name` in httpx.__init__ private (#1177)
authorJoe <nigelchiang@outlook.com>
Sat, 15 Aug 2020 03:19:41 +0000 (11:19 +0800)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 03:19:41 +0000 (11:19 +0800)
httpx/__init__.py

index c46e74b1b37ea7b5e8dc588d2f0b6f27b3573ab9..5f503cd028dcd6261b7b6a3867896b1c4f1de53b 100644 (file)
@@ -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