[Python-checkins] CVS: python/dist/src/Objects abstract.c,2.50,2.51
Guido van Rossum
python-dev@python.org
Thu, 31 Aug 2000 19:39:03 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv27223
Modified Files:
abstract.c
Log Message:
Add parens suggested by gcc -Wall.
Index: abstract.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/abstract.c,v
retrieving revision 2.50
retrieving revision 2.51
diff -C2 -r2.50 -r2.51
*** abstract.c 2000/08/31 07:02:19 2.50
--- abstract.c 2000/09/01 02:39:00 2.51
***************
*** 814,820 ****
return x;
}
! else if (HASINPLACE(v)
&& ((v->ob_type->tp_as_sequence != NULL &&
! (f = v->ob_type->tp_as_sequence->sq_inplace_concat) != NULL))
|| (v->ob_type->tp_as_number != NULL &&
(f = v->ob_type->tp_as_number->nb_inplace_add) != NULL))
--- 814,821 ----
return x;
}
! else if ((HASINPLACE(v)
&& ((v->ob_type->tp_as_sequence != NULL &&
! (f = v->ob_type->tp_as_sequence->sq_inplace_concat)
! != NULL)))
|| (v->ob_type->tp_as_number != NULL &&
(f = v->ob_type->tp_as_number->nb_inplace_add) != NULL))