103 |
102 |
104 def __addMethodsAPI(self, className): |
103 def __addMethodsAPI(self, className): |
105 """ |
104 """ |
106 Private method to generate the api section for class methods. |
105 Private method to generate the api section for class methods. |
107 |
106 |
108 @param classname Name of the class containing the method. (string) |
107 @param className name of the class containing the method (string) |
109 """ |
108 """ |
110 from QScintilla.Editor import Editor |
109 from QScintilla.Editor import Editor |
111 |
110 |
112 _class = self.module.classes[className] |
111 _class = self.module.classes[className] |
113 methods = sorted(list(_class.methods.keys())) |
112 methods = sorted(list(_class.methods.keys())) |
138 |
137 |
139 def __addClassVariablesAPI(self, className): |
138 def __addClassVariablesAPI(self, className): |
140 """ |
139 """ |
141 Private method to generate class api section for class variables. |
140 Private method to generate class api section for class variables. |
142 |
141 |
143 @param classname Name of the class containing the class variables. (string) |
142 @param className name of the class containing the class variables (string) |
144 """ |
143 """ |
145 from QScintilla.Editor import Editor |
144 from QScintilla.Editor import Editor |
146 |
145 |
147 _class = self.module.classes[className] |
146 _class = self.module.classes[className] |
148 classNameStr = "{0}{1}.".format(self.moduleName, className) |
147 classNameStr = "{0}{1}.".format(self.moduleName, className) |