This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Prior to Python 3.12 , recursive type require from __future__ import annotations : Example of a recursive type from __future__ import annotations class Something : def __init__ ( self , parent : Something | None ) -> None : self . parent : Something | None = parent
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.