I defined a class like that:
class NodeData : key = 0 neighbors = {} location = () def __init__(self, k, l): self.key = k sel