style: reformat

pull/788/head
MinJae Kwon 3 years ago
parent d04ae4d778
commit bf413688ea

@ -342,7 +342,7 @@ class Node:
return other return other
def __rsub__(self, other: Union[List["Node"], List["Edge"]]): def __rsub__(self, other: Union[List["Node"], List["Edge"]]):
""" Called for [Nodes] and [Edges] - Self because list don't have __sub__ operators. """ """Called for [Nodes] and [Edges] - Self because list don't have __sub__ operators."""
for o in other: for o in other:
if isinstance(o, Edge): if isinstance(o, Edge):
o.connect(self) o.connect(self)

Loading…
Cancel
Save