Skip to content

Commit 3873ee9

Browse files
Taeknologyorsenthil
authored andcommitted
gh-102591: Document that urlcleanup resets the global opener (GH-153562)
(cherry picked from commit bbd1f2f) Co-authored-by: Taeknology <20297177+Taeknology@users.noreply.github.com> Co-authored-by: Senthil Kumaran <senthil@python.org>
1 parent a3a6203 commit 3873ee9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/urllib.request.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,8 @@ some point in the future.
14861486
.. function:: urlcleanup()
14871487

14881488
Cleans up temporary files that may have been left behind by previous
1489-
calls to :func:`urlretrieve`.
1489+
calls to :func:`urlretrieve`. It also resets the default global opener
1490+
installed by :func:`install_opener`.
14901491

14911492

14921493
:mod:`!urllib.request` Restrictions

0 commit comments

Comments
 (0)