[Python-checkins] r51987 - in python/trunk: Modules/almodule.c Modules/bz2module.c Python/pystate.c

neal.norwitz python-checkins at python.org
Sat Sep 23 06:11:40 CEST 2006


Author: neal.norwitz
Date: Sat Sep 23 06:11:38 2006
New Revision: 51987

Modified:
   python/trunk/Modules/almodule.c
   python/trunk/Modules/bz2module.c
   python/trunk/Python/pystate.c
Log:
Remove extra semi-colons reported by Johnny Lee on python-dev.  Backport if anyone cares.

Modified: python/trunk/Modules/almodule.c
==============================================================================
--- python/trunk/Modules/almodule.c	(original)
+++ python/trunk/Modules/almodule.c	Sat Sep 23 06:11:38 2006
@@ -1686,7 +1686,7 @@
 {
 	int res, param;
 	ALparamInfo pinfo;
-	PyObject *v, *item;;
+	PyObject *v, *item;
 
 	if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, &param))
 		return NULL;

Modified: python/trunk/Modules/bz2module.c
==============================================================================
--- python/trunk/Modules/bz2module.c	(original)
+++ python/trunk/Modules/bz2module.c	Sat Sep 23 06:11:38 2006
@@ -1023,12 +1023,12 @@
 		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) {

Modified: python/trunk/Python/pystate.c
==============================================================================
--- python/trunk/Python/pystate.c	(original)
+++ python/trunk/Python/pystate.c	Sat Sep 23 06:11:38 2006
@@ -501,7 +501,7 @@
 {
 	PyThread_delete_key(autoTLSkey);
 	autoTLSkey = 0;
-	autoInterpreterState = NULL;;
+	autoInterpreterState = NULL;
 }
 
 /* When a thread state is created for a thread by some mechanism other than


More information about the Python-checkins mailing list