diff --git a/pep-0646.rst b/pep-0646.rst index 7cf08d456..3dc925767 100644 --- a/pep-0646.rst +++ b/pep-0646.rst @@ -776,7 +776,7 @@ passed to ``__getitem__``. For example, if we do ``foo[a, *b, c]``, and ``foo.__getitem__`` would receive ``(a, d, e, c)``. To put it another way, note that ``x[..., *a, ...]`` produces the same result -as ``x[(..., a*, ...)]``` (with any slices ``i:j`` in ``...`` replaced with +as ``x[(..., *a, ...)]``` (with any slices ``i:j`` in ``...`` replaced with ``slice(i, j)``, with the one edge case that ``x[*a]`` becomes ``x[(*a,)]``). TypeVarTuple Implementation