Skip to content

Commit

Permalink
Merge pull request #14942 from novaya/master
Browse files Browse the repository at this point in the history
PR: Add missing "self" argument in a method
  • Loading branch information
ccordoba12 committed Mar 17, 2021
2 parents e744f12 + adb6d1c commit 1367d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/preferences/api.py
Expand Up @@ -56,7 +56,7 @@ def get_option(self, option, default=NoDefault, section=None):
section = self.CONF_SECTION if section is None else section
return CONF.get(section, option, default)

def remove_option(option, section=None):
def remove_option(self, option, section=None):
section = self.CONF_SECTION if section is None else section
CONF.remove_option(section, option)

Expand Down

0 comments on commit 1367d42

Please sign in to comment.