Author: Benjamin Peterson <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit