Commits

Philip Jenvey committed 127e26c

fix _pow requiring thirdArg on this branch

  • Participants
  • Parent commits 7cd5f50
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/objspace/std/floatobject.py

     x = w_float1.floatval
     y = w_float2.floatval
 
-    return W_FloatObject(_pow(space, x, y))
+    return W_FloatObject(_pow(space, x, y, thirdArg))
 
-def _pow(space, x, y):
+def _pow(space, x, y, thirdArg):
     # Sort out special cases here instead of relying on pow()
     if y == 2.0:       # special case for performance:
         return x * x   # x * x is always correct