Skip to content

gh-103596: [Enum] do not shadow mixed-in methods/attributes #103600

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 2 commits into from
Apr 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typo
Co-authored-by: samypr100 <3933065+samypr100@users.noreply.github.com>
  • Loading branch information
ethanfurman and samypr100 authored Apr 18, 2023
commit 0d06493741aec2a8342b12313be325c91bd1cd41
2 changes: 1 addition & 1 deletion Doc/howto/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ inherits from :class:`Enum` itself.
.. note:: Case of Enum Members

Because Enums are used to represent constants, and to help avoid issues
with name clashes betweewe mixin-class methods/attributes and enum names,
with name clashes between mixin-class methods/attributes and enum names,
we strongly recommend using UPPER_CASE names for members, and will be using
that style in our examples.

Expand Down