-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
Under enum.auto
, the docs say that "auto
instances are only resolved when at the top level of an assignment". From reading the examples, it looks like the target of the assignment should be enum.auto()
or a tuple directly containing a call to enum.auto
. I don't know if "top level of an assignment" is alluding to the tuple's parentheses being optional or if it's a remnant from an older version of the docs when enum.auto
didn't support tuples, but it is confusing the way it's currently stated.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir