Skip to content

[3.10] bpo-46586: Fix more erroneous doc links to builtins (GH-31429) #92198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/fileinput.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,5 @@ The two following opening hooks are provided by this module:
Added the optional *errors* parameter.

.. deprecated:: 3.10
This function is deprecated since :func:`input` and :class:`FileInput`
This function is deprecated since :func:`fileinput.input` and :class:`FileInput`
now have *encoding* and *errors* parameters.
2 changes: 1 addition & 1 deletion Doc/library/urllib.request.rst
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,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`).
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/zipfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down