8000 gh-105535 Document potential performance trap during enum creation by nicky-eng · Pull Request #107119 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-105535 Document potential performance trap during enum creation #107119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 8, 2024
Prev Previous commit
Next Next commit
remove trailing whitespace
  • Loading branch information
ethanfurman authored Mar 4, 2024
commit f4051809ad3551becdb6f249fcad53eb9f45920c
4 changes: 2 additions & 2 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ Data Types

>>> Color.RED.value
1

Value of the member, can be set in :meth:`~object.__new__`.

.. note:: Enum member values

Member values can be anything: :class:`int`, :class:`str`, etc. If
Expand Down
0