> Union[int, float] -> int | float
Really excited for the new syntax, thank you everyone involved for making Python better each day. IMO Python's most powerful feature is its' amazing community. :)
btw there is a small typo @ https://docs.python.org/3.10/whatsnew/3.10.html:
> Pattterns -> Patterns
Does anyone know where it needs to be fixed?
Seems they have already fixed it.
https://github.com/python/cpython/pull/24721/files
> Union[int, float] -> int | float
Really excited for the new syntax, thank you everyone involved for making Python better each day. IMO Python's most powerful feature is its' amazing community. :)
btw there is a small typo @ https://docs.python.org/3.10/whatsnew/3.10.html:
> Pattterns -> Patterns
Does anyone know where it needs to be fixed?