You need to sign in or sign up before continuing.
-
Boxiang Sun authored
Complex constructor should call __complex__ before call __float__. And should not call PyNumber_Float in that special method. Also add error checking after calling PyNumber_Float.
a8eb5671