summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-22 18:34:56 (GMT)
committerGitHub <noreply@github.com>2023-08-22 18:34:56 (GMT)
commit1dbf11814f32c7d4c1fc66cb0a29aa3667962b0d (patch)
treece1cd6490e8f86321a51c2cb3c45b03e8a7f55a8 /Doc
parent68fd6db9817d8b0b083a8f9372da5feba2f24db1 (diff)
downloadcpython-1dbf11814f32c7d4c1fc66cb0a29aa3667962b0d.zip
cpython-1dbf11814f32c7d4c1fc66cb0a29aa3667962b0d.tar.gz
cpython-1dbf11814f32c7d4c1fc66cb0a29aa3667962b0d.tar.bz2
[3.12] gh-107700: [Enum] Document that `EnumType` was added in 3.11 (GH-108260) (#108301)
(cherry picked from commit e8ef0bdd8c613a722bf7965bf1da912882141a52) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/enum.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index e9c4f0e..7653865 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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