Skip to content

Commit 5bdc7db

Browse files
committed
[Python 3.13 Preview: GIL/JIT] Fix linter checks (part 2)
1 parent 77d9b66 commit 5bdc7db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

python313-preview-gil-jit/benchmarks/jit.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ def wrapper(n):
4848
duration = t2 - t1
4949
print(f"\b\b\b: {duration:.2f}s")
5050
if jit.supported:
51-
Record(python_short(), "on" if jit.enabled else "off", n, duration).save()
51+
Record(
52+
python_short(), "on" if jit.enabled else "off", n, duration
53+
).save()
5254
else:
5355
Record(python_short(), "unsupported", n, duration).save()
5456
return result

python313-preview-gil-jit/benchmarks/uops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import dis
22

33
import _opcode
4-
54
from pyinfo import print_details
65

76

0 commit comments

Comments
 (0)