diff --git a/spyder/plugins/ipythonconsole/widgets/control.py b/spyder/plugins/ipythonconsole/widgets/control.py index b51d8c74e1f..ffa7b39f478 100644 --- a/spyder/plugins/ipythonconsole/widgets/control.py +++ b/spyder/plugins/ipythonconsole/widgets/control.py @@ -50,7 +50,8 @@ def __init__(self, parent=None): # To not use Spyder calltips obtained through the monitor self.calltips = False - # ---- Public methods ---------------------------------------------------- + # ---- Public methods + # ------------------------------------------------------------------------- def insert_horizontal_ruler(self): """ Insert a horizontal ruler with the appropriate color according @@ -69,7 +70,8 @@ def insert_horizontal_ruler(self): cursor.movePosition(cursor.End) cursor.insertFrame(ruler) - # ---- Private methods --------------------------------------------------- + # ---- Private methods + # ------------------------------------------------------------------------- def _key_paren_left(self, text): """ Action for '(' """ self.current_prompt_pos = self.parentWidget()._prompt_pos @@ -79,7 +81,8 @@ def _key_paren_left(self, text): self.show_object_info(last_obj) self.insert_text(text) - # ---- Qt methods -------------------------------------------------------- + # ---- Qt methods + # ------------------------------------------------------------------------- def showEvent(self, event): """Reimplement Qt Method""" self.sig_visibility_changed.emit(True)