diff --git a/src/simudator/gui/module_graphics_item/memory_graphic.py b/src/simudator/gui/module_graphics_item/memory_graphic.py index 108b64fae6ceda42e38c3a0fd2d79c777f96e859..ca4533ee6b93a5f6276e3884af7ba29fbc1f6a25 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