@julia I think this is what you're looking for
s: str | None = None
t: str | None = "t"
from the 3.11 docs:
`Optional[X]` is equivalent to `X | None` (or `Union[X, None]`).
February 13, 2023
@julia I think this is what you're looking for
s: str | None = None
t: str | None = "t"
from the 3.11 docs:
`Optional[X]` is equivalent to `X | None` (or `Union[X, None]`).