[pypy-commit] pypy kill-multimethod: Fix comment in floatobject.py.

Manuel Jacob noreply at buildbot.pypy.org
Tue Feb 25 06:00:26 CET 2014


Author: Manuel Jacob
Branch: kill-multimethod
Changeset: r69399:78d85c08ebe1
Date: 2014-02-25 05:37 +0100
http://bitbucket.org/pypy/pypy/changeset/78d85c08ebe1/

Log:	Fix comment in floatobject.py.

diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py
--- a/pypy/objspace/std/floatobject.py
+++ b/pypy/objspace/std/floatobject.py
@@ -547,7 +547,7 @@
 
     @unwrap_spec(w_third_arg=WrappedDefault(None))
     def descr_pow(self, space, w_rhs, w_third_arg):
-        # This raises FailedToImplement in cases like overflow where a
+        # This returns space.w_NotImplemented in cases like overflow where a
         # (purely theoretical) big-precision float implementation would have
         # a chance to give a result, and directly OperationError for errors
         # that we want to force to be reported to the user.


More information about the pypy-commit mailing list