

def __getitem__(self, node):
    '\n        Return a iterator passing through all neighbors of the given node.\n        \n        @rtype:  iterator\n        @return: Iterator passing through all neighbors of the given node.\n        '
    for n in self.neighbors(node):
        (yield n)

dataset/ETHPy150Open nerdvegas/rez/src/rez/vendor/pygraph/mixins/common.py common.__getitem__/original