mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Silence lint
This commit is contained in:
parent
51415a7b3b
commit
85998fa069
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,6 @@ static void
|
|||
class_dealloc(op)
|
||||
classobject *op;
|
||||
{
|
||||
int i;
|
||||
DECREF(op->cl_bases);
|
||||
DECREF(op->cl_methods);
|
||||
XDECREF(op->cl_name);
|
||||
|
@ -106,7 +105,8 @@ class_getattr(op, name)
|
|||
int n = gettuplesize(op->cl_bases);
|
||||
int i;
|
||||
for (i = 0; i < n; i++) {
|
||||
v = class_getattr(gettupleitem(op->cl_bases, i), name);
|
||||
v = class_getattr((classobject *)
|
||||
gettupleitem(op->cl_bases, i), name);
|
||||
if (v != NULL)
|
||||
return v;
|
||||
err_clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue