From: Martin Panter Date: Wed, 8 Jun 2016 12:44:30 +0000 (+0000) Subject: Issue #23275: Backport empty square bracket assignment documentation fix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5982d0433ec29fbacf9c05ddd5fd8ed884af6bd;p=python Issue #23275: Backport empty square bracket assignment documentation fix --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 2c0b8dbc7c..848bb9e93d 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`