Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d46c2a

Browse files
committed
Remove unused variable.
1 parent 5d1155c commit 4d46c2a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
3737
{
3838
PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *cell;
3939
PyObject *cls = NULL;
40-
Py_ssize_t nargs, nbases;
40+
Py_ssize_t nargs;
4141
int isclass;
4242

4343
assert(args != NULL);
@@ -62,7 +62,6 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
6262
bases = PyTuple_GetSlice(args, 2, nargs);
6363
if (bases == NULL)
6464
return NULL;
65-
nbases = nargs - 2;
6665

6766
if (kwds == NULL) {
6867
meta = NULL;

0 commit comments

Comments
 (0)