diff --git a/spyder/config/manager.py b/spyder/config/manager.py index f612b974137..553c547a6ff 100644 --- a/spyder/config/manager.py +++ b/spyder/config/manager.py @@ -400,11 +400,11 @@ def notify_section_all_observers(self, section: str): # See above explanation. pass - def disable_notifications(self, section:str, option:ConfigurationKey): + def disable_notifications(self, section: str, option: ConfigurationKey): """Disable notitications for `option` in `section`.""" self._disabled_options.append((section, option)) - def restore_notifications(self, section:str, option:ConfigurationKey): + def restore_notifications(self, section: str, option: ConfigurationKey): """Restore notitications for disabled `option` in `section`.""" try: self._disabled_options.remove((section, option))