diff options
author | Meer Suri <46469858+meersuri@users.noreply.github.com> | 2022-05-02 22:32:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 22:32:44 (GMT) |
commit | cc6ae4f4835f9e76a34f24cd1f666c1cc0fecfa3 (patch) | |
tree | c1605066b071e4be3b5f2b6f1a1538e5aa313245 /Doc | |
parent | 5e9323a54724079796688425dd32f2683f81b56f (diff) | |
download | cpython-cc6ae4f4835f9e76a34f24cd1f666c1cc0fecfa3.zip cpython-cc6ae4f4835f9e76a34f24cd1f666c1cc0fecfa3.tar.gz cpython-cc6ae4f4835f9e76a34f24cd1f666c1cc0fecfa3.tar.bz2 |
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>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/fileinput.rst | 2 | ||||
-rw-r--r-- | Doc/library/urllib.request.rst | 2 | ||||
-rw-r--r-- | Doc/library/zipfile.rst | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst index 2a2c1b3..4bc8687 100644 --- a/Doc/library/fileinput.rst +++ b/Doc/library/fileinput.rst @@ -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` now have *encoding* and *errors* parameters. diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 3823981..491ef02 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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`). diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index d6a1fce..19e128c 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -311,7 +311,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 |