summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-12-22 02:56:55 (GMT)
committerGitHub <noreply@github.com>2020-12-22 02:56:55 (GMT)
commit02349e2dc9d93202c658ae383b2de2e36b2366f8 (patch)
tree6d2fa2095cff856746bf05bf5cfea768f763da01 /Doc/library/functions.rst
parentd3ab4c82a9b594d3cd98062eece19672fe42bce2 (diff)
downloadcpython-02349e2dc9d93202c658ae383b2de2e36b2366f8.zip
cpython-02349e2dc9d93202c658ae383b2de2e36b2366f8.tar.gz
cpython-02349e2dc9d93202c658ae383b2de2e36b2366f8.tar.bz2
[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658) (GH-23828)
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/functions.rst')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 4f5fe6b..be98d30 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1312,7 +1312,7 @@ are always available. They are listed here in alphabetical order.
supported.
-.. function:: print(*objects, sep=' ', end='\\n', file=sys.stdout, flush=False)
+.. function:: print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)
Print *objects* to the text stream *file*, separated by *sep* and followed
by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as keyword