אלעזר wrote:
    it feels like a
    placeholder for this meaning would be better.  E.g.:

    class A:
        def __add__(self, other: CLS) -> CLS: ...

That's fine for a class that refers to itself, but
what about classes that refer to each other? This
only addresses a small part of the problem.

--
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/

Reply via email to