renaming, renaming ...
authorStefan Behnel <scoder@users.berlios.de>
Tue, 9 Feb 2010 10:39:39 +0000 (11:39 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 9 Feb 2010 10:39:39 +0000 (11:39 +0100)
tests/wrappers/cpp_overload_wrapper.pyx

index 856a164bdb3f70dd6faab965d14bcbfa29e5c4a2..c1839c9f31cec7c2986facf1a4cd4071f553a705 100644 (file)
@@ -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()