Make sure base class method arguments match

This commit is contained in:
Roberto Rosario
2014-11-03 00:16:22 -04:00
parent 9cc014c70a
commit 1f0f3adcba
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
class BackendBase(object):
def execute(input_filename, language=None): # NOQA
def execute(self, input_filename, language=None): # NOQA
raise NotImplementedError

View File

@@ -1,3 +1,3 @@
class BackendBase(object):
def check_word(word):
raise NotImplemented
def check_word(self, word):
raise NotImplementedError