[New-bugs-announce] [issue45391] 3.10 objects.inv classifies UnionType as data

gaborjbernat report at bugs.python.org
Wed Oct 6 08:20:50 EDT 2021


New submission from gaborjbernat <gaborjbernat at gmail.com>:

It's a class though:

❯ sphobjinv suggest ./objects.inv UnionType
:py:data:`types.UnionType`

defined as:

UnionType = type(int | str)

----------
assignee: docs at python
components: Documentation
messages: 403300
nosy: docs at python, gaborjbernat
priority: normal
severity: normal
status: open
title: 3.10 objects.inv classifies UnionType as data
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45391>
_______________________________________


More information about the New-bugs-announce mailing list