Skip to content

Commit 325c5fe

Browse files
committed
Clarify comment
1 parent 5ce99ca commit 325c5fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_compile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,8 +2204,8 @@ def f():
22042204
start_line, end_line, _, _ = instr.positions
22052205
self.assertEqual(start_line, end_line)
22062206

2207-
# Expect three `LOAD_CONST None` instructions for the no-exception __exit__ call,
2208-
# and one for the RETURN_VALUE.
2207+
# Expect four `LOAD_CONST None` instructions:
2208+
# three for the no-exception __exit__ call, and one for the return.
22092209
# They should all have the locations of the context manager ('xyz').
22102210

22112211
load_none = [instr for instr in dis.get_instructions(f) if

0 commit comments

Comments
 (0)