Skip to content

Commit bbd1f2f

Browse files
gh-102591: Document that urlcleanup resets the global opener (#153562)
Co-authored-by: Senthil Kumaran <senthil@python.org>
1 parent a2d3787 commit bbd1f2f

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)