]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] link to the correct output method in documentation (GH-127857) (#127901)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 13 Dec 2024 09:37:59 +0000 (10:37 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Dec 2024 09:37:59 +0000 (15:07 +0530)
link to the correct output method in documentation (GH-127857)
(cherry picked from commit 11ff3286b7e821bf439bc7caa0fa712e3bc3846a)

Co-authored-by: Viktor Kálmán <kviktor@users.noreply.github.com>
Doc/library/http.cookies.rst

index 4ce2e3c4f4cb42a0ee8786383be4f0ffd4b2f682..ad37a0fca4742d24e86fbf49a71e99b7fb496426 100644 (file)
@@ -98,7 +98,7 @@ Cookie Objects
 .. method:: BaseCookie.output(attrs=None, header='Set-Cookie:', sep='\r\n')
 
    Return a string representation suitable to be sent as HTTP headers. *attrs* and
-   *header* are sent to each :class:`Morsel`'s :meth:`output` method. *sep* is used
+   *header* are sent to each :class:`Morsel`'s :meth:`~Morsel.output` method. *sep* is used
    to join the headers together, and is by default the combination ``'\r\n'``
    (CRLF).