def __str__(self) -> str:
    'Prints single AVL Node to stdout\n\n        Raises:\n            NoNodeData: If no data is present in the node\n\n        Returns:\n            str: output string\n        '
    if self.key:
        out = 'data: {0}\nleft: {1}\nright: {2}\n'.format((self.key, self.value), self.left.__str__(), self.right.__str__())
        return out
    raise NoNodeData
Prints single AVL Node to stdout

Raises:
    NoNodeData: If no data is present in the node

Returns:
    str: output string
def __str__(self) -> str:
    'Prints single AVL Node to stdout\n\n        Raises:\n            NoNodeData: If no data is present in the node\n\n        Returns:\n            str: output string\n        '
    if self.key:
        out = 'data: {0}\nleft: {1}\nright: {2}\n'.format((self.key, self.value), self.left.__str__(), self.right.__str__())
        return out
    raise NoNodeData