From 1dcb8c522b408738405189ed80059f1cd43d209a Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 9 Feb 2010 11:39:39 +0100 Subject: [PATCH] renaming, renaming ... --- tests/wrappers/cpp_overload_wrapper.pyx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/wrappers/cpp_overload_wrapper.pyx b/tests/wrappers/cpp_overload_wrapper.pyx index 856a164b..c1839c9f 100644 --- a/tests/wrappers/cpp_overload_wrapper.pyx +++ b/tests/wrappers/cpp_overload_wrapper.pyx @@ -4,20 +4,20 @@ cimport cppwrap_lib cdef class DoubleKeeper: cdef cppwrap_lib.DoubleKeeper* keeper - def __cinit__(self, factor=None): - if factor is None: + def __cinit__(self, number=None): + if number is None: self.keeper = new cppwrap_lib.DoubleKeeper() else: - self.keeper = new cppwrap_lib.DoubleKeeper(factor) + self.keeper = new cppwrap_lib.DoubleKeeper(number) def __dealloc__(self): del self.keeper - def set_number(self, factor=None): - if factor is None: + def set_number(self, number=None): + if number is None: self.keeper.set_number() else: - self.keeper.set_number(factor) + self.keeper.set_number(number) def get_number(self): return self.keeper.get_number() -- 2.26.2