aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-10-28 15:00:50 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-10-28 15:00:50 +0200
commit4d46c2a7229eee963180a938c914bee3352a016f (patch)
tree4612b79a876626d1fb3a8d498c90bdd38b40a07b /Python/bltinmodule.c
parentCloses #13258: Use callable() built-in in the standard library. (diff)
downloadcpython-4d46c2a7229eee963180a938c914bee3352a016f.tar.gz
cpython-4d46c2a7229eee963180a938c914bee3352a016f.tar.bz2
cpython-4d46c2a7229eee963180a938c914bee3352a016f.zip
Remove unused variable.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 9c50b88da8d..d05232c34af 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -37,7 +37,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
{
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 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
bases = PyTuple_GetSlice(args, 2, nargs);
if (bases == NULL)
return NULL;
- nbases = nargs - 2;
if (kwds == NULL) {
meta = NULL;