summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-01 22:22:50 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-01 22:22:50 (GMT)
commitffc667cbd57151705f5a69139351b7c14b24653d (patch)
tree5fa7ff3ed8c034a6d149936ba926eaa4ed89b306 /Objects
parentc9e928ae0fbb56aed59d370c558697d996b670bf (diff)
downloadcpython-ffc667cbd57151705f5a69139351b7c14b24653d.zip
cpython-ffc667cbd57151705f5a69139351b7c14b24653d.tar.gz
cpython-ffc667cbd57151705f5a69139351b7c14b24653d.tar.bz2
labs() takes a long for an input.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index ce6926b..8c7a9a3 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -1158,7 +1158,7 @@ float_as_integer_ratio(PyObject *v, PyObject *unused)
{
double self;
double float_part;
- int exponent;
+ long exponent;
PyObject *prev;
PyObject *py_exponent = NULL;