Skip to content

Commit

Permalink
bpo-45391: mark UnionType as a class in documentation (GH-28757)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
(cherry picked from commit e2cfc89)

Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
  • Loading branch information
miss-islington and gaborbernat committed Dec 9, 2021
1 parent 99c7232 commit 2c2ee83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/types.rst
Expand Up @@ -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>`.

Expand Down

0 comments on commit 2c2ee83

Please sign in to comment.