Skip to content

Commit

Permalink
remove old commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang committed Jun 27, 2024
1 parent 6242d7d commit 343ea2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions gestalt/Node.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ def __init__(self, classname, name=None, node=None, layout={}):

self.children = []

#if node and hasattr(node, "children"):
#self.children = copy.deepcopy(node.children)
if not node:
initial = self.pop("children", [])

Expand Down
6 changes: 5 additions & 1 deletion gestalt/Type.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ def copy(self):

for item in self.macros:
output.macros.append(copy.copy(item))
#output.macros = copy.deepcopy(self.macros)
output.updates = copy.copy(self.updates)

return output

def val(self):
Expand Down Expand Up @@ -126,6 +127,9 @@ def __float__(self):
return float(self.val())

def __format__(self, format_spec):
if (format_spec != ""):
print(format_spec)

return str(self).__format__(format_spec)


Expand Down

0 comments on commit 343ea2c

Please sign in to comment.