[pypy-svn] r76122 - pypy/branch/fast-forward/pypy/objspace/std

benjamin at codespeak.net benjamin at codespeak.net
Mon Jul 12 02:12:11 CEST 2010


Author: benjamin
Date: Mon Jul 12 02:11:56 2010
New Revision: 76122

Modified:
   pypy/branch/fast-forward/pypy/objspace/std/newformat.py
Log:
stubs

Modified: pypy/branch/fast-forward/pypy/objspace/std/newformat.py
==============================================================================
--- pypy/branch/fast-forward/pypy/objspace/std/newformat.py	(original)
+++ pypy/branch/fast-forward/pypy/objspace/std/newformat.py	Mon Jul 12 02:11:56 2010
@@ -265,7 +265,13 @@
     pass
 
 class BaseFormatter(object):
-    pass
+
+    def format_int_or_long(self, w_num, kind):
+        raise NotImplementedError
+
+    def format_float(self, w_num):
+        raise NotImplementedError
+
 
 INT_KIND = 1
 LONG_KIND = 2



More information about the Pypy-commit mailing list