SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

Fix variable name in dis documentation example (GH-109343)

BINARY_SUBSCR example erroneously uses two different names `key` and `index` to refer to the same variable. STORE_SUBSCR and DELETE_SUBSCR use only `key` in the same context. Changing `index` to `key` for consistency.
O
Oleksandr Kravets committed
a0c06a4f933faccd7f8201701b2491d38464212c
Parent: 6c0ddca
Committed by GitHub <noreply@github.com> on 9/13/2023, 5:07:56 AM