Skip to content

Commit 5f40cb8

Browse files
bpo-46586: Fix more erroneous doc links to builtins (GH-31429)
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 c467812 commit 5f40cb8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/library/fileinput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,5 @@ The two following opening hooks are provided by this module:
227227
Added the optional *errors* parameter.
228228

229229
.. deprecated:: 3.10
230-
This function is deprecated since :func:`input` and :class:`FileInput`
230+
This function is deprecated since :func:`fileinput.input` and :class:`FileInput`
231231
now have *encoding* and *errors* parameters.

Doc/library/urllib.request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ The following attribute and methods should only be used by classes derived from
739739

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

Doc/library/zipfile.rst

Lines changed: 1 addition & 1 deletion
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)