8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 385a663 commit e357d13Copy full SHA for e357d13
Lib/test/test_capi/test_opt.py
@@ -627,7 +627,7 @@ def test_promote_globals_to_constants(self):
627
628
result = script_helper.run_python_until_end('-c', textwrap.dedent(f"""
629
{EXTERNAL_SETUP}
630
-
+
631
def testfunc(n):
632
for i in range(n):
633
x = range(i)
@@ -1799,7 +1799,7 @@ def testfunc(n):
1799
import _testinternalcapi
1800
import opcode
1801
import _opcode
1802
1803
def get_first_executor(func):
1804
code = func.__code__
1805
co_code = code.co_code
@@ -1809,7 +1809,7 @@ def get_first_executor(func):
1809
except ValueError:
1810
pass
1811
return None
1812
1813
def get_opnames(ex):
1814
return {item[0] for item in ex}
1815
"""
0 commit comments