From 16c3b125fcbe54daabe58ebf6bf20f251effcc0a Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 18 Mar 2024 11:46:47 +0100 Subject: Fix Leaf.left --- mdpoly/abc.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.1