def next(self):
in_list = self._get_list_attribute_is_member_off()
if in_list is None:
return None
next_node = list(itertools.dropwhile(lambda x: x is not self, in_list))[1:]
return next_node[0] if next_node else None
评论列表
文章目录