From edb94a6e938d2166aa30fe5adcec552930bcd299 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sun, 20 Jan 2019 16:52:44 -0500 Subject: [PATCH] Better error message. --- wrap/Method.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } /* ************************************************************************* */