Skip to content

Commit e8ef0bd

Browse files
authored
gh-107700: [Enum] Document that EnumType was added in 3.11 (GH-108260)
1 parent 6541fe4 commit e8ef0bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/enum.rst

+4
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)