We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[Fancy]URLopener
1 parent 3746d0a commit 9d2a879Copy full SHA for 9d2a879
Doc/whatsnew/3.14.rst
@@ -772,6 +772,13 @@ urllib
772
* Remove deprecated :class:`!URLopener` and :class:`!FancyURLopener` classes
773
from :mod:`urllib.request`. They had previously raised a
774
:exc:`DeprecationWarning` since Python 3.3.
775
+
776
+ ``myopener.open()`` can be replaced with :func:`~urllib.request.urlopen`,
777
+ and ``myopener.retrieve()`` can be replaced with
778
+ :func:`~urllib.request.urlretrieve`. Customizations to the opener
779
+ classes can be replaced by passing customized handlers to
780
+ :func:`~urllib.request.build_opener`.
781
782
(Contributed by Barney Gale in :gh:`84850`.)
783
784
Others
0 commit comments