Skip to content

Commit 7806d43

Browse files
committed
Merge remote-tracking branch 'faster/no-conditional-stack-effects' into no-conditional-stack-effects
2 parents 9ce0600 + 17249ba commit 7806d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_monitoring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ def _exec_super(self, codestr, optimized=False):
17621762
return self._exec(co)
17631763

17641764
def _has_load_super_attr(self, co):
1765-
has = any(instr.opname == "LOAD_SUPER_ATTR" or instr.opname == "LOAD_SUPER_METHOD"
1765+
has = any(instr.opname in ("LOAD_SUPER_ATTR", "LOAD_SUPER_METHOD")
17661766
for instr in dis.get_instructions(co))
17671767
if not has:
17681768
has = any(

0 commit comments

Comments
 (0)