From: Stefan Behnel Date: Tue, 9 Feb 2010 10:39:39 +0000 (+0100) Subject: renaming, renaming ... X-Git-Tag: 0.13.beta0~349^2~7^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1dcb8c522b408738405189ed80059f1cd43d209a;p=cython.git renaming, renaming ... --- 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()