diff --git a/wrap/Method.cpp b/wrap/Method.cpp index 1a58692b6..8f0ef17b9 100644 --- a/wrap/Method.cpp +++ b/wrap/Method.cpp @@ -200,6 +200,6 @@ void Method::emit_cython_pyx(FileWriter& file, const Class& cls) const { file.oss << " pass\n"; } file.oss - << " raise TypeError('Incorrect arguments for method call.')\n\n"; + << " raise TypeError('Incorrect arguments or types for method call.')\n\n"; } /* ************************************************************************* */