bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672) · python/cpython@eb49899

Original file line numberDiff line numberDiff line change

@@ -730,7 +730,7 @@ whose value is one of the keys of the mapping, and the subscription selects the

730730

value in the mapping that corresponds to that key. (The expression list is a

731731

tuple except if it has exactly one item.)

732732
733-

If the primary is a sequence, the expression (list) must evaluate to an integer

733+

If the primary is a sequence, the expression list must evaluate to an integer

734734

or a slice (as discussed in the following section).

735735
736736

The formal syntax makes no special provision for negative indices in