aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-03-18 11:46:47 +0100
committerNao Pross <np@0hm.ch>2024-03-18 11:46:47 +0100
commit16c3b125fcbe54daabe58ebf6bf20f251effcc0a (patch)
tree47beff45bb6941a65a35485fd369d049525dde0b
parentFix imports (diff)
downloadmdpoly-16c3b125fcbe54daabe58ebf6bf20f251effcc0a.tar.gz
mdpoly-16c3b125fcbe54daabe58ebf6bf20f251effcc0a.zip
Fix Leaf.left
-rw-r--r--mdpoly/abc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdpoly/abc.py b/mdpoly/abc.py
index 657adf7..882634f 100644
--- a/mdpoly/abc.py
+++ b/mdpoly/abc.py
@@ -296,6 +296,7 @@ class Leaf(Expr):
def left(self):
""" Overloads left child with function that does nothing. (Leaves do
not have children). """
+ return Nothing()
@left.setter
def left(self, left: Self) -> None: