[Zodb-checkins] CVS: Releases/Zope/lib/python/BTrees - SetOpTemplate.c:1.9

Matthew T. Kromer matt@zope.com
Thu, 24 Jan 2002 15:18:29 -0500


Update of /cvs-repository/Releases/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv22618/lib/python/BTrees

Modified Files:
	SetOpTemplate.c 
Log Message:
Correction from Steve Alexander where return(Py_None) does not incref
Py_None.


=== Releases/Zope/lib/python/BTrees/SetOpTemplate.c 1.8 => 1.9 ===
   if (o1==Py_None || o2==Py_None) 
     {
-      Py_INCREF(o1);
+      Py_INCREF(Py_None);
       return Py_None;
     }