I don't think that's how we name things. (Though it's a great tongue
twister. :-)
On Mon, Jul 26, 2021 at 1:33 AM Nick Coghlan wrote:
>
>
> On Sun, 25 Jul 2021, 9:26 pm Serhiy Storchaka,
> wrote:
>
>> In 3.10 the union type (the type of the result of the | operator for
>> types) was added (http
On Sun, 25 Jul 2021, 9:26 pm Serhiy Storchaka, wrote:
> In 3.10 the union type (the type of the result of the | operator for
> types) was added (https://www.python.org/dev/peps/pep-0604/). It is
> exposed as types.Union. There are differences between typing.Union and
> types.Union:
>
> * typing.U
In 3.10 the union type (the type of the result of the | operator for
types) was added (https://www.python.org/dev/peps/pep-0604/). It is
exposed as types.Union. There are differences between typing.Union and
types.Union:
* typing.Union is indexable, types.Union is not.
* types.Union is a class, ty