]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102591: Document that urlcleanup resets the global opener (#153562)
authorTaeknology <20297177+Taeknology@users.noreply.github.com>
Sat, 11 Jul 2026 19:40:09 +0000 (04:40 +0900)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 19:40:09 +0000 (19:40 +0000)
Co-authored-by: Senthil Kumaran <senthil@python.org>
Doc/library/urllib.request.rst

index 03518d49d437ce5143c132423ec624db19c0085f..95e4d2627c8b23b34dd5f4469313b39511a97a62 100644 (file)
@@ -1486,7 +1486,8 @@ some point in the future.
 .. function:: urlcleanup()
 
    Cleans up temporary files that may have been left behind by previous
-   calls to :func:`urlretrieve`.
+   calls to :func:`urlretrieve`.  It also resets the default global opener
+   installed by :func:`install_opener`.
 
 
 :mod:`!urllib.request` Restrictions