Skip to content

Commit

Permalink
pythongh-107700: [Enum] Document that EnumType was added in 3.11 (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 22, 2023
1 parent 6541fe4 commit e8ef0bd
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 e8ef0bd

Please sign in to comment.