summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-08 12:44:30 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-08 12:44:30 (GMT)
commitd5982d0433ec29fbacf9c05ddd5fd8ed884af6bd (patch)
treec77a89969bf7807c23387586eec2d912e279a7d5
parent6af1c49bb497ca883af99db19aaaae8820325f90 (diff)
downloadcpython-d5982d0433ec29fbacf9c05ddd5fd8ed884af6bd.zip
cpython-d5982d0433ec29fbacf9c05ddd5fd8ed884af6bd.tar.gz
cpython-d5982d0433ec29fbacf9c05ddd5fd8ed884af6bd.tar.bz2
Issue #23275: Backport empty square bracket assignment documentation fix
-rw-r--r--Doc/reference/simple_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 2c0b8db..848bb9e 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -87,7 +87,7 @@ attributes or items of mutable objects:
target_list: `target` ("," `target`)* [","]
target: `identifier`
: | "(" `target_list` ")"
- : | "[" `target_list` "]"
+ : | "[" [`target_list`] "]"
: | `attributeref`
: | `subscription`
: | `slicing`