summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.cookies.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-12-22 02:52:19 (GMT)
committerGitHub <noreply@github.com>2020-12-22 02:52:19 (GMT)
commite89993cff4e60fcf32643fc613d0544f3dbcd98a (patch)
treed66ff3be1c0cce8bd0eae0a05773ff5acc7af4a5 /Doc/library/http.cookies.rst
parentb4b323ce1afa13f3d60ddb63261743dd94986b81 (diff)
downloadcpython-e89993cff4e60fcf32643fc613d0544f3dbcd98a.zip
cpython-e89993cff4e60fcf32643fc613d0544f3dbcd98a.tar.gz
cpython-e89993cff4e60fcf32643fc613d0544f3dbcd98a.tar.bz2
[3.9] [doc] Fix erroneous backslashes in signatures and names (GH-23658) (GH-23827)
The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.. (cherry picked from commit dcc997cd28ab33ebac44182ee55533c1b37689f7) Co-authored-by: Andre Delfino <adelfino@gmail.com>
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 17792b2..a2c1eb0 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