mirror of https://github.com/python/cpython.git
bpo-45391: mark UnionType as a class in documentation (GH-28757)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
(cherry picked from commit e2cfc89e09
)
Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
This commit is contained in:
parent
99c72326d2
commit
2c2ee83c4d
|
@ -312,7 +312,7 @@ Standard names are defined for the following types:
|
|||
This type can now be subclassed.
|
||||
|
||||
|
||||
.. data:: UnionType
|
||||
.. class:: UnionType
|
||||
|
||||
The type of :ref:`union type expressions<types-union>`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue