Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > da4bd81a00342d3ce235d4d95d11f273 > files > 4

PythonCAD-0.1.36-9.fc14.src.rpm

--- PythonCAD/Generic/layer.py.orig
+++ PythonCAD/Generic/layer.py
@@ -474,15 +474,15 @@
             raise TypeError, "Unexpected type: " + `type(obj)`
         return (_split, _objs)
 
-    def setAutosplit(self, as):
+    def setAutosplit(self, autosplit):
         """Set the autosplit state of the Layer.
         
-setAutosplit(as)
-
-Argument 'as' must be a Boolean.
-        """
-        util.test_boolean(as)
-        self.__asplit = as
+setAutosplit(autosplit)
+
+Argument 'autosplit' must be a Boolean.
+        """
+        util.test_boolean(autosplit)
+        self.__asplit = autosplit
 
     def getAutosplit(self):
         """Retrieve the autosplit state of the Layer.