Skip to content

Commit d3f9190

Browse files
committed
Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares.
1 parent 62e955a commit d3f9190

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Modules/almodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ al_GetParamInfo(PyObject *self, PyObject *args)
16861686
{
16871687
int res, param;
16881688
ALparamInfo pinfo;
1689-
PyObject *v, *item;;
1689+
PyObject *v, *item;
16901690

16911691
if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, &param))
16921692
return NULL;

Modules/bz2module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,12 +1023,12 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args)
10231023
case MODE_CLOSED:
10241024
PyErr_SetString(PyExc_ValueError,
10251025
"I/O operation on closed file");
1026-
goto cleanup;;
1026+
goto cleanup;
10271027

10281028
default:
10291029
PyErr_SetString(PyExc_IOError,
10301030
"seek works only while reading");
1031-
goto cleanup;;
1031+
goto cleanup;
10321032
}
10331033

10341034
if (where == 2) {

Python/pystate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ _PyGILState_Fini(void)
501501
{
502502
PyThread_delete_key(autoTLSkey);
503503
autoTLSkey = 0;
504-
autoInterpreterState = NULL;;
504+
autoInterpreterState = NULL;
505505
}
506506

507507
/* When a thread state is created for a thread by some mechanism other than

0 commit comments

Comments
 (0)