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-Tag: v2.7.12rc1~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5982d0433ec29fbacf9c05ddd5fd8ed884af6bd;p=thirdparty%2FPython%2Fcpython.git Issue #23275: Backport empty square bracket assignment documentation fix --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 2c0b8dbc7ce4..848bb9e93d13 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`