From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:37:59 +0000 (+0100) Subject: [3.12] link to the correct output method in documentation (GH-127857) (#127901) X-Git-Tag: v3.12.9~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=793059eb4c1cbe252494d7d6d9993d8d2023a90f;p=thirdparty%2FPython%2Fcpython.git [3.12] link to the correct output method in documentation (GH-127857) (#127901) link to the correct output method in documentation (GH-127857) (cherry picked from commit 11ff3286b7e821bf439bc7caa0fa712e3bc3846a) Co-authored-by: Viktor Kálmán --- diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst index 4ce2e3c4f4cb..ad37a0fca474 100644 --- a/Doc/library/http.cookies.rst +++ b/Doc/library/http.cookies.rst @@ -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).