Commit f3037964 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Small float fix

parent fb2009bb
......@@ -1002,6 +1002,7 @@ template <ExceptionStyle S> Box* floatNew(BoxedClass* _cls, Box* a) noexcept(S =
assert(S == CAPI);
return NULL;
}
AUTO_DECREF(f);
return new (cls) BoxedFloat(f->d);
}
......
# expected: reffail
"docstring"
from __future__ import division
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment