summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.cookies.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-01-04 16:19:27 (GMT)
committerGitHub <noreply@github.com>2021-01-04 16:19:27 (GMT)
commite6d0107e13ed957109e79b796984d3d026a8660d (patch)
tree30911624a1795eaa435c55e5dc501108a99349a3 /Doc/library/http.cookies.rst
parenteedeaef1f22d27264ce9b031da80fe2485e85e69 (diff)
downloadcpython-e6d0107e13ed957109e79b796984d3d026a8660d.zip
cpython-e6d0107e13ed957109e79b796984d3d026a8660d.tar.gz
cpython-e6d0107e13ed957109e79b796984d3d026a8660d.tar.bz2
Revert "[3.9] [doc] Fix erroneous backslashes in signatures and names (GH-23658)" (GH-24092)
This partially reverts commit e89993cff4e60fcf32643fc613d0544f3dbcd98a, which was removing backslashes in documentations compiled with Sphinx < 3, used for Python 3.8 and 3.9 docs.
Diffstat (limited to 'Doc/library/http.cookies.rst')
-rw-r--r--Doc/library/http.cookies.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst
index a2c1eb0..17792b2 100644
--- a/Doc/library/http.cookies.rst
+++ b/Doc/library/http.cookies.rst
@@ -93,7 +93,7 @@ Cookie Objects
:meth:`value_decode` are inverses on the range of *value_decode*.
-.. method:: BaseCookie.output(attrs=None, header='Set-Cookie:', sep='\r\n')
+.. 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