mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00: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:
parent
99c72326d2
commit
2c2ee83c4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue