Skip to content
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

bpo-46586: Fix more erroneous doc links to builtins #31429

Merged
merged 8 commits into from
May 2, 2022
2 changes: 1 addition & 1 deletion Doc/library/fileinput.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,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`
JelleZijlstra marked this conversation as resolved.
Show resolved Hide resolved
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 @@ -737,7 +737,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` of :class:`OpenerDirector`, or ``None``.
JelleZijlstra marked this conversation as resolved.
Show resolved Hide resolved
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