[issue45619] Mentioning structural pattern matching in the list of binding

Arthur Milchior report at bugs.python.org
Tue Oct 26 22:28:00 EDT 2021


New submission from Arthur Milchior <arthur at milchior.fr>:

https://docs.python.org/3/reference/executionmodel.html list all of the way a variable may be bound. However, it seems that it was not updated. Indeed, structural pattern matching in 3.10 also allows to bind a variable and is not mentionned.

As a related issue, the sentence is far too long and really would need to be broken down. At the very least, the special case "and targets that are identifiers if" is not clear, it is not indicated whether this case extends to the end of the sentence or is just local

----------
assignee: docs at python
components: Documentation
messages: 405066
nosy: Arthur-Milchior, docs at python
priority: normal
severity: normal
status: open
title: Mentioning structural pattern matching in the list of binding
versions: Python 3.10, Python 3.11

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


More information about the Python-bugs-list mailing list