2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-13 12:42:14 +00:00

further simplifications of error reporting code

[SVN r8315]
This commit is contained in:
Ullrich Köthe
2000-11-24 11:56:17 +00:00
parent 517b307622
commit 0bcf6cfba1
6 changed files with 107 additions and 165 deletions

View File

@@ -26,6 +26,7 @@ namespace python { namespace detail {
class extension_instance;
string argument_tuple_as_string(tuple args);
string description_as_string(tuple description);
// function --
@@ -47,8 +48,6 @@ class function : public python_object
virtual PyObject* description() const = 0;
private:
virtual PyObject* do_call(PyObject* args, PyObject* keywords) const = 0;
virtual string description_as_string() const;
virtual string argument_types_as_string(tuple args) const;
virtual string function_name() const = 0;
virtual bool rephrase_argument_error() const
{ return true; }