mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares.
This commit is contained in:
parent
62e955ad13
commit
d3f91908dd
3 changed files with 4 additions and 4 deletions
|
@ -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, ¶m))
|
if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, ¶m))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue