Skip to content

Commit 9d7f270

Browse files
[3.11] gh-107700: [Enum] Document that EnumType was added in 3.11 (GH-108260) (#108300)
(cherry picked from commit e8ef0bd) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 3ca9264 commit 9d7f270

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
@@ -247,6 +247,10 @@ Data Types
247247
>>> list(reversed(Color))
248248
[<Color.BLUE: 3>, <Color.GREEN: 2>, <Color.RED: 1>]
249249

250+
.. versionadded:: 3.11
251+
252+
Before 3.11 ``enum`` used ``EnumMeta`` type, which is kept as an alias.
253+
250254

251255
.. class:: Enum
252256

0 commit comments

Comments
 (0)