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

key_length must have a default value. #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pgonee
Copy link
Contributor

@pgonee pgonee commented Feb 19, 2013

When key is None, key_length wouldn't be set by PyArg_ParseTupleAndKeywords, since format s doesn't accept None.
Thus I added a proper default value for it, and also test case for it.

@pgonee
Copy link
Contributor Author

pgonee commented Feb 19, 2013

This isssue fixes #2 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant