Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94e2dbb

Browse files
author
Kenneth Reitz
committed
Merge pull requestrealpython#104 from leetrout/b80f05a16e07
Corrected enumerate typo in style
2 parentsa26f75e +b80f05a commit94e2dbb

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, itemina:
251+
for i, iteminenumerate(a):
252252
print i+","+ item
253253
# prints
254254
# 0, 3

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp