mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Get rid of gcc warning.
This commit is contained in:
parent
ad62202a5e
commit
ff365c931b
1 changed files with 2 additions and 1 deletions
|
@ -5542,7 +5542,8 @@ super_getattro(PyObject *self, PyObject *name)
|
|||
this is instance-mode super
|
||||
(See SF ID #743627)
|
||||
*/
|
||||
(su->obj==su->obj_type
|
||||
(su->obj == (PyObject *)
|
||||
su->obj_type
|
||||
? (PyObject *)NULL
|
||||
: su->obj),
|
||||
(PyObject *)starttype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue