From 61975aa5ffc0a06764ef65294268f8cb62cc1498 Mon Sep 17 00:00:00 2001 From: Robin Gilks <> Date: Tue, 28 Apr 2009 11:22:34 +0100 Subject: [PATCH] Add a docstring parameter to CppMethod constructor --- pybindgen/cppmethod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybindgen/cppmethod.py b/pybindgen/cppmethod.py index 100d76b..4617079 100644 --- a/pybindgen/cppmethod.py +++ b/pybindgen/cppmethod.py @@ -23,7 +23,7 @@ class CppMethod(ForwardWrapperBase): template_parameters=(), is_virtual=False, is_const=False, unblock_threads=None, is_pure_virtual=False, custom_template_method_name=None, visibility='public', - custom_name=None, deprecated=False): + custom_name=None, deprecated=False, docstring=None): """ Create an object the generates code to wrap a C++ class method. @@ -95,7 +95,7 @@ class CppMethod(ForwardWrapperBase): #self.static_decl = True self._class = None self._helper_class = None - self.docstring = None + self.docstring = docstring self.wrapper_base_name = None self.wrapper_actual_name = None self.return_value = None