Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfc644b

Browse files
committed
fix no-op in tutorial
1 parent 2b968d6 commit bfc644b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/datastructures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ A more verbose version of this snippet shows the flow explicitly::
252252
for i in [0, 1, 2]:
253253
for row in mat:
254254
print(row[i], end="")
255-
print
255+
print()
256256

257257
In real world, you should prefer builtin functions to complex flow statements.
258258
The :func:`zip` function would do a great job for this use case::

0 commit comments

Comments
 (0)