[pypy-svn] r41281 - pypy/dist/pypy/objspace/std

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Mar 25 15:24:58 CEST 2007


Author: cfbolz
Date: Sun Mar 25 15:24:57 2007
New Revision: 41281

Modified:
   pypy/dist/pypy/objspace/std/dictobject.py
Log:
fix a couple of "demoting ..." warnings


Modified: pypy/dist/pypy/objspace/std/dictobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/dictobject.py	(original)
+++ pypy/dist/pypy/objspace/std/dictobject.py	Sun Mar 25 15:24:57 2007
@@ -239,7 +239,12 @@
         w_self.len = len(content)
         w_self.pos = 0
         w_self.setup_iterator()
+    
+    def setup_iterator(w_self):
+        raise NotImplementedError("abstract base class")
 
+    def next_entry(w_self):
+        raise NotImplementedError("abstract base class")
 
 registerimplementation(W_DictIterObject)
 



More information about the Pypy-commit mailing list