mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Remove unused variable.
This commit is contained in:
parent
5d1155c08e
commit
4d46c2a722
1 changed files with 1 additions and 2 deletions
|
@ -37,7 +37,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
|
||||||
{
|
{
|
||||||
PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *cell;
|
PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *cell;
|
||||||
PyObject *cls = NULL;
|
PyObject *cls = NULL;
|
||||||
Py_ssize_t nargs, nbases;
|
Py_ssize_t nargs;
|
||||||
int isclass;
|
int isclass;
|
||||||
|
|
||||||
assert(args != NULL);
|
assert(args != NULL);
|
||||||
|
@ -62,7 +62,6 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
|
||||||
bases = PyTuple_GetSlice(args, 2, nargs);
|
bases = PyTuple_GetSlice(args, 2, nargs);
|
||||||
if (bases == NULL)
|
if (bases == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
nbases = nargs - 2;
|
|
||||||
|
|
||||||
if (kwds == NULL) {
|
if (kwds == NULL) {
|
||||||
meta = NULL;
|
meta = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue