From ff175a1c1cce1e7a0e923f15d11c3d27651bc30d Mon Sep 17 00:00:00 2001
From: "Anders H. Rebner" <anderhre@stud.ntnu.no>
Date: Sat, 28 Mar 2020 16:03:07 +0100
Subject: [PATCH] #65 Endret docstring

---
 soitool/module_list.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/soitool/module_list.py b/soitool/module_list.py
index ef41005..9c4b9ba 100644
--- a/soitool/module_list.py
+++ b/soitool/module_list.py
@@ -21,16 +21,15 @@ class ModuleList(QListWidget):
     ----------
     module_type : int
         Determines whether names are from modules or attachment-modules.
-        Is used with the Enum 'ModuleType' to know which SOI-list to update
-        when changes are made.
+        Is used with the Enum 'ModuleType' to know which SOI-list (modules or
+        attachments) to update when changes are made.
     soi : soitool.soi.SOI
-        Reference to SOI.
+        Reference to SOI-instance.
     """
 
     def __init__(self, module_type, soi):
         super().__init__()
 
-        # full import path below to avoid circular dependency
         if not isinstance(soi, SOI):
             raise RuntimeError(
                 "Only soitool.SOIWorkspaceWidget is "
-- 
GitLab