From 7b993a89db0b9b9f6fffc55469459309d2228204 Mon Sep 17 00:00:00 2001
From: marho227 <marho227@student.liu.se>
Date: Fri, 14 Jun 2024 11:24:57 +0200
Subject: [PATCH] moved comment from init to class

---
 .../gui/module_graphics_item/memory_graphic.py | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/simudator/gui/module_graphics_item/memory_graphic.py b/src/simudator/gui/module_graphics_item/memory_graphic.py
index 108b64f..ca4533e 100644
--- a/src/simudator/gui/module_graphics_item/memory_graphic.py
+++ b/src/simudator/gui/module_graphics_item/memory_graphic.py
@@ -24,19 +24,17 @@ class MemoryWindow(QTableWidget):
 
     This class assumes that the size of the memory module will remain constant.
 
+    Parameters
+    ----------
+    memory_module: An instance of the Memory base class.
+    column_size: An integer specifying the number of columns, optional.
+
+    Attributes
+    ----------
+    memory_size: The number of memory addresses.
     """
 
     def __init__(self, memory_module: Memory, column_size=-1):
-        """
-        Parameters
-        ----------
-        memory_module: An instance of the Memory base class.
-        column_size: An integer specifying the number of columns, optional.
-
-        Attributes
-        ----------
-        memory_size: The number of memory addresses.
-        """
         super().__init__()
         self.memory = memory_module
         self.column_size = column_size
-- 
GitLab