Skip to content

Commit

Permalink
[3.11] pythongh-107700: [Enum] Document that EnumType was added in …
Browse files Browse the repository at this point in the history
…3.11 (pythonGH-108260) (python#108300)

(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 3ca9264 commit 9d7f270
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 @@ -247,6 +247,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 9d7f270

Please sign in to comment.