[3.13] gh-123550: Fix code snippet of BUILD_TUPLE in dis docs (GH-123551) (#123555)

This commit is contained in:
Miss Islington (bot) 2024-09-01 09:38:20 +02:00 committed by GitHub
parent 4922e5b273
commit b0a50a69cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1107,8 +1107,8 @@ iterations of the loop.
if count == 0: if count == 0:
value = () value = ()
else: else:
STACK = STACK[:-count]
value = tuple(STACK[-count:]) value = tuple(STACK[-count:])
STACK = STACK[:-count]
STACK.append(value) STACK.append(value)