Added missing call to enumerate.

This commit is contained in:
Lee Trout
2012-03-25 13:07:09 -03:00
parent a26f75e158
commit b80f05a16e
+1 -1
View File
@@ -248,7 +248,7 @@ keep a count of your place in the list.
.. code-block:: python
for i, item in a:
for i, item in enumerate(a):
print i + ", " + item
# prints
# 0, 3