Skip to content
This repository was archived by the owner on Mar 31, 2024. It is now read-only.

Conversation

@nathancahill
Copy link

Currently, looping over arguments.Args() returns None infinitely. This adds support for iterating over Args

Currently:

>>> for arg in arguments.Args():
>>>    print arg
None
None
...
None

With __iter__:

>>> for arg in arguments.Args():
>>>    print arg
arg1
arg2

@wkentaro
Copy link
Contributor

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants