Skip to content

Commit 05142f0

Browse files
committed
pythongh-107700: [Enum] Document that EnumType was added in 3.11
1 parent 58f9c63 commit 05142f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/enum.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ Data Types
241241
>>> list(reversed(Color))
242242
[<Color.BLUE: 3>, <Color.GREEN: 2>, <Color.RED: 1>]
243243

244+
.. versionadded:: 3.11
245+
246+
Before 3.11 ``enum`` used ``EnumMeta`` type, which is kept as an alias.
247+
244248

245249
.. class:: Enum
246250

0 commit comments

Comments
 (0)