Skip to content

Commit

Permalink
[3.12] gh-107700: [Enum] Document that EnumType was added in 3.11 (G…
Browse files Browse the repository at this point in the history
…H-108260) (#108301)

(cherry picked from commit e8ef0bd)

Co-authored-by: Nikita Sobolev <[email protected]>
  • Loading branch information
miss-islington and sobolevn authored Aug 22, 2023
1 parent 68fd6db commit 1dbf118
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ Data Types
>>> list(reversed(Color))
[<Color.BLUE: 3>, <Color.GREEN: 2>, <Color.RED: 1>]

.. versionadded:: 3.11

Before 3.11 ``enum`` used ``EnumMeta`` type, which is kept as an alias.


.. class:: Enum

Expand Down

0 comments on commit 1dbf118

Please sign in to comment.