DocumentationTools/APIGenerator.py

changeset 3033
58fe260e7469
parent 2989
7efa8b8b6903
child 3060
5883ce99ee12
child 3160
209a07d7e401
--- a/DocumentationTools/APIGenerator.py	Sat Oct 19 11:49:31 2013 +0200
+++ b/DocumentationTools/APIGenerator.py	Sat Oct 19 12:28:12 2013 +0200
@@ -120,9 +120,10 @@
                 id = Editor.ClassProtectedID
             else:
                 id = Editor.ClassPrivateID
-            self.api.append('{0}{1}?{2:d}({3})'.format(
-                self.moduleName, _class.name, id,
-                 ', '.join(_class.methods['__init__'].parameters[1:])))
+            self.api.append(
+                '{0}{1}?{2:d}({3})'.format(
+                    self.moduleName, _class.name, id,
+                    ', '.join(_class.methods['__init__'].parameters[1:])))
             
         classNameStr = "{0}{1}.".format(self.moduleName, className)
         for method in methods:
@@ -133,9 +134,10 @@
                     id = Editor.MethodProtectedID
                 else:
                     id = Editor.MethodPrivateID
-                self.api.append('{0}{1}?{2:d}({3})'.format(
-                    classNameStr, method, id,
-                     ', '.join(_class.methods[method].parameters[1:])))
+                self.api.append(
+                    '{0}{1}?{2:d}({3})'.format(
+                        classNameStr, method, id,
+                        ', '.join(_class.methods[method].parameters[1:])))
         
     def __addClassVariablesAPI(self, className):
         """
@@ -174,6 +176,8 @@
                     id = Editor.MethodProtectedID
                 else:
                     id = Editor.MethodPrivateID
-                self.api.append('{0}{1}?{2:d}({3})'.format(
-                    self.moduleName, self.module.functions[funcName].name, id,
-                     ', '.join(self.module.functions[funcName].parameters)))
+                self.api.append(
+                    '{0}{1}?{2:d}({3})'.format(
+                        self.moduleName, self.module.functions[funcName].name,
+                        id,
+                        ', '.join(self.module.functions[funcName].parameters)))

eric ide

mercurial