[pypy-svn] r69319 - pypy/trunk/pypy/objspace/std
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Nov 16 13:46:07 CET 2009
Author: cfbolz
Date: Mon Nov 16 13:46:06 2009
New Revision: 69319
Modified:
pypy/trunk/pypy/objspace/std/sharingdict.py
Log:
Ouch, didn't run enough tests. Sorry about that.
Modified: pypy/trunk/pypy/objspace/std/sharingdict.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/sharingdict.py (original)
+++ pypy/trunk/pypy/objspace/std/sharingdict.py Mon Nov 16 13:46:06 2009
@@ -42,8 +42,8 @@
if new_structure is None:
new_structure = self.new_structure(key)
self._size_estimate -= self.size_estimate()
- self._size_estimate += newstruct.size_estimate()
- return newstruct
+ self._size_estimate += new_structure.size_estimate()
+ return new_structure
@purefunction_promote
def size_estimate(self):
More information about the Pypy-commit
mailing list