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

Utility to get MRO respecting generic bases #6

Open
mitar opened this issue Aug 14, 2017 · 0 comments
Open

Utility to get MRO respecting generic bases #6

mitar opened this issue Aug 14, 2017 · 0 comments

Comments

@mitar
Copy link

mitar commented Aug 14, 2017

Using get_generic_bases I can get generic bases for my type class. But it would be great if there would be utility function to get all ancestor classes in MRO order including generic bases. So similar to inspect.getmro, just that also parameterized generic type classes would be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants