Skip to content

Commit 2c2ee83

Browse files
bpo-45391: mark UnionType as a class in documentation (GH-28757)
Signed-off-by: Bernát Gábor <[email protected]> (cherry picked from commit e2cfc89) Co-authored-by: Bernát Gábor <[email protected]>
1 parent 99c7232 commit 2c2ee83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/types.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Standard names are defined for the following types:
312312
This type can now be subclassed.
313313

314314

315-
.. data:: UnionType
315+
.. class:: UnionType
316316

317317
The type of :ref:`union type expressions<types-union>`.
318318

0 commit comments

Comments
 (0)