Skip to content

Commit 0ede9f3

Browse files
committed
Update comment
1 parent bb228eb commit 0ede9f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2034,8 +2034,8 @@ def test_call_isinstance_tuple_of_classes(self):
20342034
def testfunc(n):
20352035
x = 0
20362036
for _ in range(n):
2037-
# The optimization currently only narrows to bool
2038-
# when the second argument is a tuple of classes.
2037+
# A tuple of classes is currently not optimized,
2038+
# so this is only narrowed to bool:
20392039
y = isinstance(42, (int, str))
20402040
if y:
20412041
x += 1

0 commit comments

Comments
 (0)