diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-09-23 04:11:38 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-09-23 04:11:38 (GMT) |
commit | d3f91908dd2c2ab79d16bfe235da34f2fc19c114 (patch) | |
tree | 6b34bb15ce35f8c3874df6480677701e792f41a5 | |
parent | 62e955ad134b1b4cdeb5875e8672ae16635a9f4b (diff) | |
download | cpython-d3f91908dd2c2ab79d16bfe235da34f2fc19c114.zip cpython-d3f91908dd2c2ab79d16bfe235da34f2fc19c114.tar.gz cpython-d3f91908dd2c2ab79d16bfe235da34f2fc19c114.tar.bz2 |
Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares.
-rw-r--r-- | Modules/almodule.c | 2 | ||||
-rw-r--r-- | Modules/bz2module.c | 4 | ||||
-rw-r--r-- | Python/pystate.c | 2 |
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, ¶m)) 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 |