Kaydet (Commit) d71fc058 authored tarafından Tim Peters's avatar Tim Peters

super_getattro(): Repaired compiler warning about mixed-type comparison.

üst e1ba47aa
......@@ -5501,7 +5501,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment