diff --git a/umbra/words.py b/umbra/words.py index 69513cee754a2b121054e169951104a206aae985..9a477d07d4926234e4e0bb86f23a24f10fd77b17 100644 --- a/umbra/words.py +++ b/umbra/words.py @@ -200,14 +200,4 @@ class SourceWord(Word): class Sentence(list): def __init__(self, words): - list.__init__(self, words) - self.words = words # I am not sure if this is the 'proper' fix - - def __str__(self): - return " ".join([str(w) for w in self.words]) - - def __len__(self): - return len(self.words) - - def __iter__(self): - return iter(self.words) + super().__init__(words)