From ced23849a2d1d8976677bf7be3623a0c57e4a89b Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 28 Oct 2000 21:28:23 +0000 Subject: [PATCH] Add getattr forwarding to BoundFunction so docstrings can be read. [SVN r8044] --- functions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.h b/functions.h index 7a2e2b66..4537acc1 100644 --- a/functions.h +++ b/functions.h @@ -91,6 +91,7 @@ class BoundFunction : public PythonObject BoundFunction(Ptr target, Ptr fn); PyObject* call(PyObject*args, PyObject* keywords) const; + PyObject* getattr(const char* name); private: struct TypeObject;