From 41554017239dbe400346429ce0c16c2bce7566ff Mon Sep 17 00:00:00 2001
From: "Vriezen, E.C. (Emma)" <e.vriezen@student.ru.nl>
Date: Sun, 1 Dec 2019 11:20:27 +0100
Subject: [PATCH] Fixed the Sentence class. It is now a real list. Before, it
 stored both a list class and just a list... It was double at least. Now it is
 fixed and it still works.

---
 umbra/words.py | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/umbra/words.py b/umbra/words.py
index 69513cee..9a477d07 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)
-- 
GitLab