This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, martin.panter, mdk
Date 2018-06-16.23:52:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529193137.14.0.56676864532.issue33878@psf.upfronthosting.co.za>
In-reply-to
Content
I think it is okay to leave out the options for the unpacking case. But I think it is worth clarifying that the single-target case also applies without parentheses, but that it doesn’t apply if there is a trailing comma. So:

‘‘‘
If the target list is a single target with no trailing comma, optionally in parentheses, the object is assigned to that target.

Else the object must be an iterable . . .
’’’
History
Date User Action Args
2018-06-16 23:52:17martin.pantersetrecipients: + martin.panter, docs@python, mdk
2018-06-16 23:52:17martin.pantersetmessageid: <1529193137.14.0.56676864532.issue33878@psf.upfronthosting.co.za>
2018-06-16 23:52:17martin.panterlinkissue33878 messages
2018-06-16 23:52:17martin.pantercreate