Cristobal Riaga <[email protected]> added the comment:
I'm don't really need inherit order, neither built-in members.
e.g.:
```py
a = 3 # First
class B: # Second
pass
def foo(): # Third
pass
```
Or in a more complex module:
```py
class A: # First
pass
class B: # Second
pass
class C(A, B): # Third
pass
```
The order should be:
- A (class)
- B (class)
- C (class): inherited from A and B.
Here is the link to the script I'm using to inspect a module:
https://github.com/Patitotective/PyAPIReference/blob/main/PyAPIReference/inspect_object.py.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com