[pypy-commit] pypy default: remove incorrect statement
gutworth
noreply at buildbot.pypy.org
Wed May 11 16:39:01 CEST 2011
Author: Benjamin Peterson <benjamin at python.org>
Branch:
Changeset: r44078:d3f35e64ecca
Date: 2011-05-11 09:48 -0500
http://bitbucket.org/pypy/pypy/changeset/d3f35e64ecca/
Log: remove incorrect statement
diff --git a/pypy/module/cpyext/number.py b/pypy/module/cpyext/number.py
--- a/pypy/module/cpyext/number.py
+++ b/pypy/module/cpyext/number.py
@@ -40,8 +40,7 @@
@cpython_api([PyObject], PyObject)
def PyNumber_Int(space, w_obj):
"""Returns the o converted to an integer object on success, or NULL on failure.
- If the argument is outside the integer range a long object will be returned
- instead. This is the equivalent of the Python expression int(o)."""
+ This is the equivalent of the Python expression int(o)."""
return space.int(w_obj)
@cpython_api([PyObject], PyObject)
More information about the pypy-commit
mailing list