8000 bpo-46586: Fix more erroneous doc links to builtins (#31429) · python/cpython@cc6ae4f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cc6ae4f

Browse files
meersuriJelleZijlstramerwok
authored
bpo-46586: Fix more erroneous doc links to builtins (#31429)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Éric <merwok@netwok.org>
1 parent 5e9323a commit cc6ae4f

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
@@ -224,5 +224,5 @@ The two following opening hooks are provided by this module:
224224
Added the optional *errors* parameter.
225225

226226
.. deprecated:: 3.10
227-
This function is deprecated since :func:`input` and :class:`FileInput`
227+
This function is deprecated since :func:`fileinput.input` and :class:`FileInput`
228228
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
@@ -311,7 +311,7 @@ ZipFile Objects
311311
compressed text files in :term:`universal newlines` mode.
312312

313313
.. versionchanged:: 3.6
314-
:meth:`open` can now be used to write files into the archive with the
314+
:meth:`ZipFile.open` can now be used to write files into the archive with the
315315
``mode='w'`` option.
316316

317317
.. versionchanged:: 3.6

0 commit comments

Comments
 (0)
0