[Checkins] SVN: BTrees/branches/pure_python/ Moar PEP8.

Tres Seaver cvs-admin at zope.org
Mon Nov 12 18:37:27 UTC 2012


Log message for revision 128256:
  Moar PEP8.

Changed:
  _U  BTrees/branches/pure_python/
  U   BTrees/branches/pure_python/BTrees/___BTree.py

-=-
Modified: BTrees/branches/pure_python/BTrees/___BTree.py
===================================================================
--- BTrees/branches/pure_python/BTrees/___BTree.py	2012-11-12 16:39:29 UTC (rev 128255)
+++ BTrees/branches/pure_python/BTrees/___BTree.py	2012-11-12 18:37:26 UTC (rev 128256)
@@ -55,7 +55,7 @@
 
     def _search(self, key):
         # Return non-negative index on success
-        # return -(insertion_index+1) on fail
+        # return -(insertion_index + 1) on fail
         low = 0
         keys = self._keys
         high = len(keys)
@@ -65,7 +65,7 @@
             if k == key:
                 return i
             if k < key:
-                low = i+1
+                low = i + 1
             else:
                 high = i
         return -1 - low



More information about the checkins mailing list