Skip to content

Commit 5b98210

Browse files
committed
Python: fix syntax error on switch/case.
1 parent 47b2a6a commit 5b98210

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_backend.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ bool PythonBackend::run(
276276
size_t bytecode_start;
277277
switch (PY_MINOR_VERSION)
278278
{
279-
case 1 .. 2:
279+
case 1 ... 2:
280280
bytecode_start = 8;
281281
break;
282-
case 3 .. 6:
282+
case 3 ... 6:
283283
bytecode_start = 12;
284284
break;
285-
case 7 .. 8:
285+
case 7 ... 8:
286286
default:
287287
bytecode_start = 16;
288288
break;

0 commit comments

Comments
 (0)