Better error message.
parent
5cbb9dfd6c
commit
edb94a6e93
|
@ -200,6 +200,6 @@ void Method::emit_cython_pyx(FileWriter& file, const Class& cls) const {
|
||||||
file.oss << " pass\n";
|
file.oss << " pass\n";
|
||||||
}
|
}
|
||||||
file.oss
|
file.oss
|
||||||
<< " raise TypeError('Incorrect arguments for method call.')\n\n";
|
<< " raise TypeError('Incorrect arguments or types for method call.')\n\n";
|
||||||
}
|
}
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
Loading…
Reference in New Issue