Kaydet (Commit) d3f91908 authored tarafından Neal Norwitz's avatar Neal Norwitz

Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares.

üst 62e955ad
...@@ -1686,7 +1686,7 @@ al_GetParamInfo(PyObject *self, PyObject *args) ...@@ -1686,7 +1686,7 @@ al_GetParamInfo(PyObject *self, PyObject *args)
{ {
int res, param; int res, param;
ALparamInfo pinfo; ALparamInfo pinfo;
PyObject *v, *item;; PyObject *v, *item;
if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, &param)) if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, &param))
return NULL; return NULL;
......
...@@ -1023,12 +1023,12 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args) ...@@ -1023,12 +1023,12 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args)
case MODE_CLOSED: case MODE_CLOSED:
PyErr_SetString(PyExc_ValueError, PyErr_SetString(PyExc_ValueError,
"I/O operation on closed file"); "I/O operation on closed file");
goto cleanup;; goto cleanup;
default: default:
PyErr_SetString(PyExc_IOError, PyErr_SetString(PyExc_IOError,
"seek works only while reading"); "seek works only while reading");
goto cleanup;; goto cleanup;
} }
if (where == 2) { if (where == 2) {
......
...@@ -501,7 +501,7 @@ _PyGILState_Fini(void) ...@@ -501,7 +501,7 @@ _PyGILState_Fini(void)
{ {
PyThread_delete_key(autoTLSkey); PyThread_delete_key(autoTLSkey);
autoTLSkey = 0; autoTLSkey = 0;
autoInterpreterState = NULL;; autoInterpreterState = NULL;
} }
/* When a thread state is created for a thread by some mechanism other than /* When a thread state is created for a thread by some mechanism other than
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment