You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Syntax error in sample code for enumerate in documentation. #48953
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/birkenfeld'closed_at=<Date2008-12-20.03:20:37.064>created_at=<Date2008-12-20.03:08:09.462>labels= ['docs']
title='Syntax error in sample code for enumerate in documentation.'updated_at=<Date2008-12-20.03:20:37.019>user='https://bugs.python.org/trenholmes'
Activity
trenholmes commentedon Dec 20, 2008
Summary: Sample code for enumerate contains a syntax error. The same
code reads:
Where the parenthesis and square bracket to the left of the colon in the
for line are backwards. It should read:
Where: http://docs.python.org/dev/3.0/library/functions.html
benjaminp commentedon Dec 20, 2008
Thanks for the report! Fixed in r67865.