diff --git a/Objects/longobject.c b/Objects/longobject.c index cdf8b99cafa..b7328fd8630 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -260,7 +260,6 @@ PyLong_FromDouble(double dval) "cannot convert float infinity to int"); return NULL; } - CHECK_SMALL_INT((int)dval); if (dval < 0.0) { neg = 1; dval = -dval;