[New-bugs-announce] [issue40006] enum: Add documentation for _create_pseudo_member_ and composite members

Ram Rachum report at bugs.python.org
Wed Mar 18 16:16:49 EDT 2020


New submission from Ram Rachum <ram at rachum.com>:

Looking at the enum source code, there's a method `_create_pseudo_member_` that's used in a bunch of places. Its docstring says "Create a composite member iff value contains only members", which would have been useful if I had any idea what "composite member" meant.

It would be good if the documentation for the enum module would include more information about these two concepts.

----------
assignee: docs at python
components: Documentation
messages: 364561
nosy: cool-RR, docs at python
priority: normal
severity: normal
status: open
title: enum: Add documentation for _create_pseudo_member_ and composite members
type: enhancement
versions: Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list