]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix a typo in STORE_SLICE docs (GH-143500) (#143533)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Jan 2026 22:42:12 +0000 (23:42 +0100)
committerGitHub <noreply@github.com>
Wed, 7 Jan 2026 22:42:12 +0000 (22:42 +0000)
Fix a typo in STORE_SLICE docs (GH-143500)
(cherry picked from commit 228d95582e080c60335d5f0a229a6698eb69b11c)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Doc/library/dis.rst

index ff4681dcb0e8a74c5ee2c6ee247ae7056e75ba1d..61556fd5be38b376437a5437ea58c0cd415fb261 100644 (file)
@@ -768,7 +768,7 @@ not have to be) the original ``STACK[-2]``.
       end = STACK.pop()
       start = STACK.pop()
       container = STACK.pop()
-      values = STACK.pop()
+      value = STACK.pop()
       container[start:end] = value
 
    .. versionadded:: 3.12