Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unnecessary list() #143

Closed
takaomag opened this issue Dec 27, 2010 · 1 comment
Closed

unnecessary list() #143

takaomag opened this issue Dec 27, 2010 · 1 comment

Comments

@takaomag
Copy link

In several lines,

for k, v in list(dict_object.items()):

are used. But list() is not necessary because dict_object.items() already returns a new list object (or view in python3).

Sorry about little things,

@benoitc
Copy link
Owner

benoitc commented Mar 6, 2011

fixed in dbc61f3

fairview pushed a commit to fairview/gunicorn that referenced this issue May 26, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants