Post #3474451
2026-06-29 14:52 UTC
@nedbat@hachyderm.io @Tipa@gamepad.club
One of the not-easily-described cases is __bases__, which is a variable-length tuple of types:
>>> class Spam: pass
...
>>> class Eggs: pass
...
>>> class Meal(Eggs, Spam): pass
...
>>> Meal.__bases__
(, )
That's a bit more to the "Technical" side than the "*args" case.
Replies (1)
-
@nedbat@hachyderm.io 2026-06-29 16:26
@dalke@toots.nu @Tipa@gamepad.club There are others: *args is provided as a tuple.