8217:385f60c94548 | 8218:7c09585bd960 |
---|---|
27 If parent is None, we set the editor as the parent. | 27 If parent is None, we set the editor as the parent. |
28 """ | 28 """ |
29 if parent is None: | 29 if parent is None: |
30 parent = editor | 30 parent = editor |
31 | 31 |
32 super(CompleterBase, self).__init__(parent) | 32 super().__init__(parent) |
33 | 33 |
34 self.editor = editor | 34 self.editor = editor |
35 self.enabled = False | 35 self.enabled = False |
36 | 36 |
37 def setEnabled(self, enable): | 37 def setEnabled(self, enable): |