diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-22 18:33:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 18:33:26 (GMT) |
commit | 9d7f2705b51eb7a4c48799ea16786f4a69f57dc5 (patch) | |
tree | ae903ca59f9fef9b207884e52ac2b251cadf5b32 | |
parent | 3ca9264aba054672e8a33c2e0d9cf32cb4e17a86 (diff) | |
download | cpython-9d7f2705b51eb7a4c48799ea16786f4a69f57dc5.zip cpython-9d7f2705b51eb7a4c48799ea16786f4a69f57dc5.tar.gz cpython-9d7f2705b51eb7a4c48799ea16786f4a69f57dc5.tar.bz2 |
[3.11] gh-107700: [Enum] Document that `EnumType` was added in 3.11 (GH-108260) (#108300)
(cherry picked from commit e8ef0bdd8c613a722bf7965bf1da912882141a52)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-rw-r--r-- | Doc/library/enum.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 15b8e29..85da331 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -247,6 +247,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 |