PEP 673: Self type

E2100813 UNEXPLORED

PEP 673: Self type is a Python Enhancement Proposal that introduces a standardized `Self` type hint to more precisely annotate methods that return instances of their own class, improving type checking and readability in object-oriented code.

Try in SPARQL Jump to: Surface forms Referenced by

All labels observed (1)

Label Occurrences
PEP 673: Self type canonical 1

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Python 3.11 pepImplemented PEP 673: Self type