> TypeError: unsupported operand types for +: 'NoneType' and 'int' > > The culprit is the following function: > > def size(self, tree): > if tree == None: return <--- You return None here, use 0 instead... Alan G