David Mertz wrote:
I guess once in a while we'll see e.g. `Sequence[CustomThing]`, but it will be uncommon for that typing involving `CutomThing` to be within CustomThing itself
I think that depends on what kind of software you're writing. Anything involving any kind of trees or graphs will have classes that refer to themselves or each other.
(well, unless you use much more recursion than Python encourages).
Recursive data structures don't necessarily imply recursive code to process them, although recursion is often the most natural way to write that code. -- Greg _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/