py: Shorten error messages by using contractions and some rewording.
diff --git a/py/objcomplex.c b/py/objcomplex.c
index 409d656..42b396d 100644
--- a/py/objcomplex.c
+++ b/py/objcomplex.c
@@ -195,13 +195,13 @@
}
case MP_BINARY_OP_FLOOR_DIVIDE:
case MP_BINARY_OP_INPLACE_FLOOR_DIVIDE:
- mp_raise_TypeError("can't do truncated division of a complex number");
+ mp_raise_TypeError("can't truncate-divide a complex number");
case MP_BINARY_OP_TRUE_DIVIDE:
case MP_BINARY_OP_INPLACE_TRUE_DIVIDE:
if (rhs_imag == 0) {
if (rhs_real == 0) {
- mp_raise_msg(&mp_type_ZeroDivisionError, "complex division by zero");
+ mp_raise_msg(&mp_type_ZeroDivisionError, "complex divide by zero");
}
lhs_real /= rhs_real;
lhs_imag /= rhs_real;