From f2efe6436b678a5fbb2bd3c135cf62a2b272ac52 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Mon, 19 May 2008 11:50:22 +0100 Subject: [PATCH] doc fix --- pybindgen/cppclass.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pybindgen/cppclass.py b/pybindgen/cppclass.py index 7329202..7404a1d 100644 --- a/pybindgen/cppclass.py +++ b/pybindgen/cppclass.py @@ -907,11 +907,9 @@ public: def _add_method_obj(self, method): """ - Add a method to the class. + Add a method object to the class. For internal use. - @param method: a CppMethod instance that can generate the method wrapper - @param name: optional name of the class method as it will appear - from Python side + @param method: a L{CppMethod} or L{Function} instance that can generate the method wrapper """ if isinstance(method, CppMethod): name = method.mangled_name