Skip to content

Commit b80f05a

Browse files
committed
Added missing call to enumerate.
1 parent a26f75e commit b80f05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/writing/style.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ keep a count of your place in the list.
248248

249249
.. code-block:: python
250250
251-
for i, item ina:
251+
for i, item inenumerate(a):
252252
print i +", "+ item
253253
# prints
254254
# 0, 3

0 commit comments

Comments
(0)