mirror of https://github.com/python/cpython.git
Remove unused variable.
This commit is contained in:
parent
fa658ce03d
commit
8017767420
|
@ -601,7 +601,6 @@ complex_getattr(self, name)
|
||||||
complexobject *self;
|
complexobject *self;
|
||||||
char *name;
|
char *name;
|
||||||
{
|
{
|
||||||
Py_complex cval;
|
|
||||||
if (strcmp(name, "real") == 0)
|
if (strcmp(name, "real") == 0)
|
||||||
return (object *)newfloatobject(self->cval.real);
|
return (object *)newfloatobject(self->cval.real);
|
||||||
else if (strcmp(name, "imag") == 0)
|
else if (strcmp(name, "imag") == 0)
|
||||||
|
|
Loading…
Reference in New Issue