#4029: fix typo.
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index b016a32..1fdbeec 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -832,7 +832,7 @@
must be of integer types, and *y* must be non-negative.
-.. 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