[Checkins] SVN: BTrees/branches/py3k/ Py3k coverage.

Tres Seaver cvs-admin at zope.org
Wed Dec 12 14:40:57 UTC 2012


Log message for revision 128611:
  Py3k coverage.

Changed:
  _U  BTrees/branches/py3k/
  U   BTrees/branches/py3k/BTrees/_base.py

-=-
Modified: BTrees/branches/py3k/BTrees/_base.py
===================================================================
--- BTrees/branches/py3k/BTrees/_base.py	2012-12-12 14:40:55 UTC (rev 128610)
+++ BTrees/branches/py3k/BTrees/_base.py	2012-12-12 14:40:57 UTC (rev 128611)
@@ -748,6 +748,7 @@
 
     def __nonzero__(self):
         return bool(self._data)
+    __bool__ = __nonzero__ #Py3k rename
 
     def __len__(self):
         l = 0



More information about the checkins mailing list