Kaydet (Commit) 5f8ea10b authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix bogus len() call

üst ec577d53
......@@ -46,7 +46,7 @@ class Shelf:
return self.dict.keys()
def __len__(self):
return self.dict.len()
return len(self.dict)
def has_key(self, key):
return self.dict.has_key(key)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment