Skip to content

Commit

Permalink
Merge pull request #8 from phihag/patch-8
Browse files Browse the repository at this point in the history
enumerate: Follow PEP8
  • Loading branch information
yasoob committed Aug 17, 2015
2 parents c974ebe + 028cf75 commit a1259b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enumerate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ list item using a list. Here is an example:
.. code:: python
my_list = ['apple', 'banana', 'grapes', 'pear']
counter_list = list(enumerate(my_list,1))
counter_list = list(enumerate(my_list, 1))
print(counter_list)
# Output: [(1, 'apple'), (2, 'banana'), (3, 'grapes'), (4, 'pear')]

0 comments on commit a1259b1

Please sign in to comment.