From: Benjamin Peterson Date: Sat, 5 Jul 2008 23:39:56 +0000 (+0000) Subject: fix no-op in tutorial X-Git-Tag: v3.0b2~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfc644bdbea147b97200fea421a3c1a9ead729f6;p=thirdparty%2FPython%2Fcpython.git fix no-op in tutorial --- diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 34d0884470d9..623986ecd67a 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::