8217:385f60c94548 | 8218:7c09585bd960 |
---|---|
24 Constructor | 24 Constructor |
25 | 25 |
26 @param editor reference to the editor widget | 26 @param editor reference to the editor widget |
27 @type Editor | 27 @type Editor |
28 """ | 28 """ |
29 super(PyDocstringGenerator, self).__init__(editor) | 29 super().__init__(editor) |
30 | 30 |
31 self.__quote3 = '"""' | 31 self.__quote3 = '"""' |
32 self.__quote3Alternate = "'''" | 32 self.__quote3Alternate = "'''" |
33 | 33 |
34 def isFunctionStart(self, text): | 34 def isFunctionStart(self, text): |
465 """ | 465 """ |
466 def __init__(self): | 466 def __init__(self): |
467 """ | 467 """ |
468 Constructor | 468 Constructor |
469 """ | 469 """ |
470 super(PyFunctionInfo, self).__init__() | 470 super().__init__() |
471 | 471 |
472 def __isCharInPairs(self, posChar, pairs): | 472 def __isCharInPairs(self, posChar, pairs): |
473 """ | 473 """ |
474 Private method to test, if the given character position is between | 474 Private method to test, if the given character position is between |
475 pairs of brackets or quotes. | 475 pairs of brackets or quotes. |