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

Switch accepted arguments for parser methods to args and kwargs #7

Open
djhoese opened this issue Sep 17, 2018 · 0 comments
Open

Switch accepted arguments for parser methods to args and kwargs #7

djhoese opened this issue Sep 17, 2018 · 0 comments

Comments

@djhoese
Copy link
Member

djhoese commented Sep 17, 2018

It is probably more pythonic to accept *args and **kwargs for positional and keyword arguments. The parser methods/functions accept a single keyvals which is meant to be a dictionary. I'd like to change them to accept args and kwargs instead. Backwards compatibility could be maintained with an isinstance. This signature would also match the stdlibs format functions. Methods affected would be compose and globify.

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

No branches or pull requests

1 participant