1.1 --- a/lib/__builtins__/mapping.py Mon May 01 23:35:01 2017 +0200
1.2 +++ b/lib/__builtins__/mapping.py Fri Jun 16 00:37:50 2017 +0200
1.3 @@ -71,17 +71,6 @@
1.4
1.5 return index % len(self.buckets)
1.6
1.7 - def _find_entry(self, buckets, key, index):
1.8 -
1.9 - """
1.10 - Search in 'buckets' for 'key', using an 'index' identifying the bucket
1.11 - involved.
1.12 -
1.13 - Method to be overridden by subclasses.
1.14 - """
1.15 -
1.16 - pass
1.17 -
1.18 def _items(self):
1.19
1.20 "Return the values stored in all buckets."
1.21 @@ -103,14 +92,10 @@
1.22 del self.buckets[index][i]
1.23 self.size -= 1
1.24
1.25 - def _resize(self, capacity):
1.26 + # Methods implemented by subclasses:
1.27
1.28 - """
1.29 - Resize the hashtable to have the given 'capacity'.
1.30 - Method to be overridden by subclasses.
1.31 - """
1.32 -
1.33 - pass
1.34 + # _find_entry(self, buckets, key, index)
1.35 + # _resize(self, capacity)
1.36
1.37 # Public special methods.
1.38