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

Remove unused kwargs from __getattr__ #117

Merged
merged 2 commits into from
Dec 7, 2019
Merged

Remove unused kwargs from __getattr__ #117

merged 2 commits into from
Dec 7, 2019

Conversation

hukkin
Copy link

@hukkin hukkin commented Dec 7, 2019

Here's the signature of getattr from official Python docs: https://docs.python.org/3/reference/datamodel.html#object.getattr

We probably shouldn't allow **kwargs here.

Linting fails, but the fix is already in #116

@sloria sloria merged commit 11a5381 into sloria:master Dec 7, 2019
@sloria
Copy link
Owner

sloria commented Dec 7, 2019

Good catch!

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.

3 participants