📅  最后修改于: 2022-03-11 14:45:52.964000             🧑  作者: Mango
It gives a "type" attribute to your named tuple.
Point=namedtuple('whatsmypurpose',['x','y'], verbose=True)
>>>type(Point)
"whatsmypurpose"