Use __iter__ rather than the inefficient nested for loops #873

Merged
merged 1 commit into from Oct 1, 2012

Conversation

Projects
None yet
2 participants
@legoktm
Contributor

legoktm commented Oct 1, 2012

Since you can iterate over a cookiejar, this is simpler and more efficient than using nested for loops.

@kennethreitz

This comment has been minimized.

Show comment Hide comment
@kennethreitz

kennethreitz Oct 1, 2012

Member

+1

Member

kennethreitz commented Oct 1, 2012

+1

@kennethreitz kennethreitz reopened this Oct 1, 2012

kennethreitz added a commit that referenced this pull request Oct 1, 2012

Merge pull request #873 from legoktm/develop
Use __iter__ rather than the inefficient nested for loops

@kennethreitz kennethreitz merged commit 1cb31f2 into requests:develop Oct 1, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment