Lines Matching refs:slicing
527 primary: `atom` | `attributeref` | `subscription` | `slicing` | `call`
605 single: slicing
614 A slicing selects a range of items in a sequence object (e.g., a string, tuple
616 :keyword:`del` statements. The syntax for a slicing:
619 slicing: `simple_slicing` | `extended_slicing`
632 .. index:: pair: extended; slicing
636 interpreted as a slicing. Rather than further complicating the syntax, this is
638 takes priority over the interpretation as a slicing (this is the case if the
641 simple slicing takes priority over that as an extended slicing.
643 The semantics for a simple slicing are as follows. The primary must evaluate to
647 it. The slicing now selects all items with index *k* such that ``i <= k < j``
657 The semantics for an extended slicing are as follows. The primary must evaluate
1498 | ``x[index]``, ``x[index:index]``, | Subscription, slicing, |