[New-bugs-announce] [issue44174] Unclear meaning of _Private__names in enum docs.

Gregory P. Smith report at bugs.python.org
Tue May 18 23:27:49 EDT 2021


New submission from Gregory P. Smith <greg at krypto.org>:

https://docs.python.org/3/library/enum.html#private-names

"""
_Private__names

Private names will be normal attributes in Python 3.10 instead of either an error or a member (depending on if the name ends with an underscore). Using these names in 3.9 will issue a DeprecationWarning.
"""

It isn't clear from this documentation what is meant by "private names".  Please expand on this to be explicit about what name pattern is being described.

----------
assignee: docs at python
components: Documentation
messages: 393919
nosy: docs at python, gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: Unclear meaning of _Private__names in enum docs.
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44174>
_______________________________________


More information about the New-bugs-announce mailing list