Skip to content
Snippets Groups Projects

Added slots to non-gui modules

Merged Martin Högstedt requested to merge 27-use-slots-for-class-attributes into main
All threads resolved!
Files
29
@@ -30,6 +30,8 @@ class Demux(Module):
@@ -30,6 +30,8 @@ class Demux(Module):
Initial value to output to the currently selected output signal.
Initial value to output to the currently selected output signal.
"""
"""
 
__slots__ = ("_bit_length", "_value")
 
def __init__(
def __init__(
self,
self,
control: Signal,
control: Signal,
Loading