summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/almodule.c2
-rw-r--r--Modules/bz2module.c4
-rw-r--r--Python/pystate.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c
index fbeb13a..0a45d2e 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -1686,7 +1686,7 @@ al_GetParamInfo(PyObject *self, PyObject *args)
{
int res, param;
ALparamInfo pinfo;
- PyObject *v, *item;;
+ PyObject *v, *item;
if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, &param))
return NULL;
diff --git a/Modules/bz2module.c b/Modules/bz2module.c
index 24b2489..27a3827 100644
--- a/Modules/bz2module.c
+++ b/Modules/bz2module.c
@@ -1023,12 +1023,12 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args)
case MODE_CLOSED:
PyErr_SetString(PyExc_ValueError,
"I/O operation on closed file");
- goto cleanup;;
+ goto cleanup;
default:
PyErr_SetString(PyExc_IOError,
"seek works only while reading");
- goto cleanup;;
+ goto cleanup;
}
if (where == 2) {
diff --git a/Python/pystate.c b/Python/pystate.c
index 639278f..cc25e3e 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -501,7 +501,7 @@ _PyGILState_Fini(void)
{
PyThread_delete_key(autoTLSkey);
autoTLSkey = 0;
- autoInterpreterState = NULL;;
+ autoInterpreterState = NULL;
}
/* When a thread state is created for a thread by some mechanism other than