[Python-checkins] cpython (3.2): Remove unused variable.

florent.xicluna python-checkins at python.org
Fri Oct 28 15:07:01 CEST 2011


http://hg.python.org/cpython/rev/09d0510e1c50
changeset:   73167:09d0510e1c50
branch:      3.2
parent:      73165:8e57b5d8f58f
user:        Florent Xicluna <florent.xicluna at gmail.com>
date:        Fri Oct 28 15:00:50 2011 +0200
summary:
  Remove unused variable.

files:
  Python/bltinmodule.c |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -37,7 +37,7 @@
 {
     PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *cell;
     PyObject *cls = NULL;
-    Py_ssize_t nargs, nbases;
+    Py_ssize_t nargs;
     int isclass;
 
     assert(args != NULL);
@@ -62,7 +62,6 @@
     bases = PyTuple_GetSlice(args, 2, nargs);
     if (bases == NULL)
         return NULL;
-    nbases = nargs - 2;
 
     if (kwds == NULL) {
         meta = NULL;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list