diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index e932b865a825a0..a8eecbdc3ec776 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1560,7 +1560,7 @@ iterations of the loop. end = STACK.pop() start = STACK.pop() - STACK.append(slice(start, stop)) + STACK.append(slice(start, end)) if it is 3, implements::