Skip to content

Commit bc8bb68

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 5ad4cfc commit bc8bb68

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
@@ -1490,7 +1490,8 @@ some point in the future.
14901490
.. function:: urlcleanup()
14911491

14921492
Cleans up temporary files that may have been left behind by previous
1493-
calls to :func:`urlretrieve`.
1493+
calls to :func:`urlretrieve`. It also resets the default global opener
1494+
installed by :func:`install_opener`.
14941495

14951496

14961497
:mod:`!urllib.request` Restrictions

0 commit comments

Comments
 (0)