2 Jun
2021
2 Jun
'21
12:22 p.m.
Am 02.06.21 um 13:57 schrieb gobot1234yt@gmail.com:
I would like to draft a PEP for a typing.Self class which would perform similarly to rust's Self keyword in function annotations.
Examples ```python from typing import TypeVar
F = TypeVar("F", bound="Foo")
Nit: The bound is not necessary here, since it's implicit when using for self annotations. That said, this is a small, but nice ergonomy improvement. - Sebastian