Docs for urllib.request.urlcleanup does not mention that it will uninstall openers installed with urllib.request.install_opener
#102591
Labels
docs
Documentation in the Doc dir


Documentation
urllib.request.install_openersetsurllib.request._openerto the supplied value:cpython/Lib/urllib/request.py
Lines 217 to 219 in 90f1d77
And
urllib.request.urlcleanupsetsurllib.requests._openertoNone:cpython/Lib/urllib/request.py
Lines 282 to 293 in 90f1d77
However, this removal of the installed opener is not documented.
If the uninstallation of openers installed with
install_openerintended, then it would be best to document iturlcleanup, and if it is not intended this should be a bug instead of a doc issue.The text was updated successfully, but these errors were encountered: