]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] bpo-46586: Fix more erroneous doc links to builtins (GH-31429) (#92199)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 3 May 2022 12:08:55 +0000 (06:08 -0600)
committerGitHub <noreply@github.com>
Tue, 3 May 2022 12:08:55 +0000 (06:08 -0600)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>.
(cherry picked from commit cc6ae4f4835f9e76a34f24cd1f666c1cc0fecfa3)

Co-authored-by: Meer Suri <46469858+meersuri@users.noreply.github.com>
Doc/library/urllib.request.rst
Doc/library/zipfile.rst

index 6f6523d8afe9fa1ce946430fa8306f9efb164d8e..ae9abe7d48ac85daed04150e8864b44676572594 100644 (file)
@@ -734,7 +734,7 @@ The following attribute and methods should only be used by classes derived from
 
    This method, if implemented, will be called by the parent
    :class:`OpenerDirector`.  It should return a file-like object as described in
-   the return value of the :meth:`open` of :class:`OpenerDirector`, or ``None``.
+   the return value of the :meth:`~OpenerDirector.open` method of :class:`OpenerDirector`, or ``None``.
    It should raise :exc:`~urllib.error.URLError`, unless a truly exceptional
    thing happens (for example, :exc:`MemoryError` should not be mapped to
    :exc:`URLError`).
index 3d1e8d8c468dcf4af94d761c9d29c5ebbac49313..de508cadccc6fe59b591b1ae0b41b11608889385 100644 (file)
@@ -289,7 +289,7 @@ ZipFile Objects
       compressed text files in :term:`universal newlines` mode.
 
    .. versionchanged:: 3.6
-      :meth:`open` can now be used to write files into the archive with the
+      :meth:`ZipFile.open` can now be used to write files into the archive with the
       ``mode='w'`` option.
 
    .. versionchanged:: 3.6