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

attrib.get should have same signature as _element.get #97

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

PokkaKiyo
Copy link
Contributor

_Attrib.get should have the same signature as _Element.get.

This should handle the problem described in #95, where setting the default value to None raises an error in the type checker.

@scoder
Copy link
Member

scoder commented Jan 8, 2024

Triggering a fresh test run

@scoder scoder closed this Jan 8, 2024
@scoder scoder reopened this Jan 8, 2024
@scoder scoder merged commit 432ac81 into lxml:master Jan 8, 2024
9 of 13 checks passed
@scoder
Copy link
Member

scoder commented Jan 8, 2024

Thanks

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.

2 participants