mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
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:
committed by
GitHub
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>`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user