Skip to content

Fix missing features of IdentifiedNode #2868

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

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

ashleysommer
Copy link
Contributor

@ashleysommer ashleysommer commented Aug 1, 2024

Fix missing features of IdentifiedNode

When PR #1680 was merged to add the IdentifiedNode intermediate class, it was missing the n3() fn that is required by the parent Node abstract base class.
And it missed the __slots__ directive that is required for a clean __slots__ chain on all classes in the hierarchy from Literal up to Node.

When PR #1680 was merged to add the IdentifiedNode intermediate class, it was missing the required n3() fn, and missed the `__slots__` directive.
…ts no longer considered abstract by the type checker.
@coveralls
Copy link

Coverage Status

coverage: 90.643% (-0.003%) from 90.646%
when pulling 6aeb801 on fix_identified_node
into 5876266 on main.

@nicholascar nicholascar merged commit 0e7695c into main Aug 1, 2024
22 checks passed
@nicholascar nicholascar deleted the fix_identified_node branch August 1, 2024 04:54
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