Skip to content

ENH: Add subinterfaces. #35

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 3 commits into from
May 12, 2020
Merged

ENH: Add subinterfaces. #35

merged 3 commits into from
May 12, 2020

Conversation

ssanderson
Copy link
Owner

@ssanderson ssanderson commented May 1, 2020

Add support for creating sub-interfaces by subclassing from an interface.

A sub interface inherits all the interface members of its parents, and may add
new interface items. It can also override parent members with new signatures,
provided that any implementation of the child interface is also a valid
implementation of the parent interface.

@ssanderson ssanderson force-pushed the sub-interfaces branch 2 times, most recently from bc615f4 to b370131 Compare May 1, 2020 14:51
Add support for creating sub-interfaces by subclassing from an interface.

A sub interface inherits all the interface members of its parents, and may add
new interface items. It can also override parent members with new signatures,
provided that any implementation of the child interface is also a valid
implementation of the parent interface.
@ssanderson ssanderson merged commit 4c4eb73 into master May 12, 2020
@ssanderson ssanderson deleted the sub-interfaces branch May 12, 2020 16:02
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