#5751: fix escaping of \\n.
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index a075afd..078cfad 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -830,7 +830,7 @@
accidents.)
-.. function:: print([object, ...][, sep=' '][, end='\n'][, file=sys.stdout])
+.. function:: print([object, ...][, sep=' '][, end='\\n'][, file=sys.stdout])
Print *object*\(s) to the stream *file*, separated by *sep* and followed by
*end*. *sep*, *end* and *file*, if present, must be given as keyword