diff -r 0a02c433f52d -r 5883ce99ee12 DocumentationTools/APIGenerator.py --- a/DocumentationTools/APIGenerator.py Fri Nov 01 15:48:48 2013 +0100 +++ b/DocumentationTools/APIGenerator.py Sun Nov 03 15:58:22 2013 +0100 @@ -123,9 +123,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: @@ -136,9 +137,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): """ @@ -177,6 +179,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)))