We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

coerce

coerce(x, y)

Returns a tuple consisting of the two numeric arguments converted to a common type, using the same rules as used by arithmetic operations. If coercion is not possible, raise TypeError.