212 Constructor |
212 Constructor |
213 |
213 |
214 @param editor reference to the editor |
214 @param editor reference to the editor |
215 @type Editor |
215 @type Editor |
216 """ |
216 """ |
217 super(DocstringMenuForEnterOnly, self).__init__(editor) |
217 super().__init__(editor) |
218 self.__editor = editor |
218 self.__editor = editor |
219 |
219 |
220 def keyPressEvent(self, evt): |
220 def keyPressEvent(self, evt): |
221 """ |
221 """ |
222 Protected method to handle key press events. |
222 Protected method to handle key press events. |