From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 22 Aug 2023 18:34:56 +0000 (-0700) Subject: [3.12] gh-107700: [Enum] Document that `EnumType` was added in 3.11 (GH-108260) ... X-Git-Tag: v3.12.0rc2~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1dbf11814f32c7d4c1fc66cb0a29aa3667962b0d;p=thirdparty%2FPython%2Fcpython.git [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 --- diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index e9c4f0e2c5f5..7653865f0b9b 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -241,6 +241,10 @@ Data Types >>> list(reversed(Color)) [, , ] + .. versionadded:: 3.11 + + Before 3.11 ``enum`` used ``EnumMeta`` type, which is kept as an alias. + .. class:: Enum