Skip to content

ENH: Add subinterfaces.#35

Merged
ssanderson merged 3 commits intomasterfrom
sub-interfaces
May 12, 2020
Merged

ENH: Add subinterfaces.#35
ssanderson merged 3 commits intomasterfrom
sub-interfaces

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