diff --git a/sootty/storage/wiregroup.py b/sootty/storage/wiregroup.py index c0f73fb..162f890 100644 --- a/sootty/storage/wiregroup.py +++ b/sootty/storage/wiregroup.py @@ -37,7 +37,7 @@ def find(self, name: str): raise SoottyError(f"Wire '{name}' does not exist.") def get_names(self): - """Returns list of all wire names.""" + """Returns a dictionary of all wire names of this wiregroup or a list if this wiregroup is the innermost one.""" if self.groups: names = dict() if self.wires: @@ -53,6 +53,7 @@ def get_names(self): return names def get_wires(self): + """Returns a dictionary of all wires of this wiregroup or a list if this wiregroup is the innermost one.""" if self.groups: wires = dict() if self.wires: