Skip to content
Snippets Groups Projects
Commit 7b993a89 authored by Martin Högstedt's avatar Martin Högstedt
Browse files

moved comment from init to class

parent 64c05359
Branches
No related tags found
1 merge request!21Changed how memory related content is display into QTables
Pipeline #131853 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment