Skip to content

Commit 92d2615

Browse files
[3.9] bpo-46586: Fix more erroneous doc links to builtins (GH-31429) (#92199)
Co-authored-by: Jelle Zijlstra <[email protected]> Co-authored-by: Éric <[email protected]>. (cherry picked from commit cc6ae4f) Co-authored-by: Meer Suri <[email protected]>
1 parent 1b1c79c commit 92d2615

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/urllib.request.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ The following attribute and methods should only be used by classes derived from
734734

735735
This method, if implemented, will be called by the parent
736736
:class:`OpenerDirector`. It should return a file-like object as described in
737-
the return value of the :meth:`open` of :class:`OpenerDirector`, or ``None``.
737+
the return value of the :meth:`~OpenerDirector.open` method of :class:`OpenerDirector`, or ``None``.
738738
It should raise :exc:`~urllib.error.URLError`, unless a truly exceptional
739739
thing happens (for example, :exc:`MemoryError` should not be mapped to
740740
:exc:`URLError`).

Doc/library/zipfile.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ ZipFile Objects
289289
compressed text files in :term:`universal newlines` mode.
290290

291291
.. versionchanged:: 3.6
292-
:meth:`open` can now be used to write files into the archive with the
292+
:meth:`ZipFile.open` can now be used to write files into the archive with the
293293
``mode='w'`` option.
294294

295295
.. versionchanged:: 3.6

0 commit comments

Comments
 (0)