quantifiedcode / python-anti-patterns

An open collection of Python anti-patterns and worst practices.
https://quantifiedcode.github.io/python-anti-patterns
Other
1.71k stars 249 forks source link

Modify items() to iteritems() #47

Closed lonelyandrew closed 8 years ago

lonelyandrew commented 9 years ago

Use iteritems() to iterate a dict may be better than using items(), please read the reference which I add and make sure that my modification is correct. I'm sorry about that I'm not familiar with the syntax of the reStructuredText(I often use markdown to write docs ), so please check my commit carefully. By the way, thanks, this little book is helpful.

timofurrer commented 8 years ago

I cannot change the pull request. It has to be done by @lonelyandrew . If he doesn't respond I pick his change on submit a new one. But let's wait a day more.

programmdesign commented 8 years ago

:+1:

programmdesign commented 8 years ago

Merged #85, which reflects this PR too.