Skip to content

Commit 1310b47

Browse files
Fix lint
1 parent a68d891 commit 1310b47

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Lib/test/test_generated_cases.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ def test_correctly_finds_pyeval_framedefault(self):
17921792
PyObject* _Py_HOT_FUNCTION
17931793
_PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int throwflag)
17941794
{
1795-
1795+
17961796
/* END_BASE_INTERPRETER */
17971797
}
17981798
"""
@@ -1805,7 +1805,7 @@ def test_simple_label(self):
18051805
PyObject* _Py_HOT_FUNCTION
18061806
_PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int throwflag)
18071807
{
1808-
1808+
18091809
TAIL_CALL_TARGET(error):
18101810
DO_THING();
18111811
/* END_BASE_INTERPRETER */
@@ -1827,7 +1827,7 @@ def test_fallthrough_label(self):
18271827
PyObject* _Py_HOT_FUNCTION
18281828
_PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int throwflag)
18291829
{
1830-
1830+
18311831
TAIL_CALL_TARGET(error):
18321832
DO_THING();
18331833
TAIL_CALL_TARGET(fallthrough):
@@ -1858,7 +1858,7 @@ def test_transform_gotos(self):
18581858
PyObject* _Py_HOT_FUNCTION
18591859
_PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int throwflag)
18601860
{
1861-
1861+
18621862
TAIL_CALL_TARGET(error):
18631863
if (thing) {
18641864
goto fallthrough;

Python/generated_tail_call_handlers.c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8462,7 +8462,7 @@ _PyErr_Format(tstate, PyExc_SystemError,
84628462
"%U:%d: unknown opcode %d",
84638463
_PyFrame_GetCode(frame)->co_filename,
84648464
PyUnstable_InterpreterFrame_GetLine(frame),
8465-
opcode);
8465+
opcode);
84668466
CEVAL_GOTO(error);}
84678467
static py_tail_call_funcptr INSTRUCTION_TABLE[256] = {
84688468
[BINARY_OP] = _TAIL_CALL_BINARY_OP,

Tools/cases_generator/tier1_tail_call_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def generate_tier1(
117117
"%U:%d: unknown opcode %d",
118118
_PyFrame_GetCode(frame)->co_filename,
119119
PyUnstable_InterpreterFrame_GetLine(frame),
120-
opcode);
120+
opcode);
121121
""")
122122
out.emit("CEVAL_GOTO(error);")
123123
out.emit("}\n")

0 commit comments

Comments
 (0)