[pypy-svn] rev 2431 - pypy/trunk/src/pypy/objspace/std

pmaupin at codespeak.net pmaupin at codespeak.net
Wed Dec 17 13:54:13 CET 2003


Author: pmaupin
Date: Wed Dec 17 13:54:13 2003
New Revision: 2431

Modified:
   pypy/trunk/src/pypy/objspace/std/intobject.py
Log:
Implemented // for ints

Modified: pypy/trunk/src/pypy/objspace/std/intobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/intobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/intobject.py	Wed Dec 17 13:54:13 2003
@@ -206,6 +206,8 @@
     else:
         return _truediv(space, w_int1, w_int2)
 
+floordiv__Int_Int = _floordiv
+
 # helper for pow()
 def _impl_int_int_pow(space, iv, iw, iz=None):
     if iw < 0:


More information about the Pypy-commit mailing list