From bfc644bdbea147b97200fea421a3c1a9ead729f6 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 5 Jul 2008 23:39:56 +0000 Subject: [PATCH] fix no-op in tutorial --- Doc/tutorial/datastructures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 34d0884470..623986ecd6 100644 --- a/Doc/tutorial/datastructures.rst +++ b/Doc/tutorial/datastructures.rst @@ -252,7 +252,7 @@ A more verbose version of this snippet shows the flow explicitly:: for i in [0, 1, 2]: for row in mat: print(row[i], end="") - print + print() In real world, you should prefer builtin functions to complex flow statements. The :func:`zip` function would do a great job for this use case:: -- 2.50.1