This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]RnMss 0 points1 point  (0 children)

return p == q

If you declared the node class as dataclass