python namedtuple默认值_namedtuple和可选关键字参数的默认值
I'm trying to convert a longish hollow "data" class into a named tuple. My class currently looks like this:class Node(object):def __init__(self, val, left=None, right=None):self.val = valself.left = l...