CodeBlock equality is not implemented
Closed this issue · 3 comments
oded-el commented
Hi,
When you write:
block_list = [sark.CodeBlock()]
sark.CodeBlock() in block_list
you get False.
It would be very nice to have equality of CodeBlocks so it won't be necessary to write my own equality function.
tmr232 commented
That seems a great idea. I'll try to get to it as soon as I can.
Feel free to submit a PR in the meantime.
tmr232 commented
Can you take a look and see that the PR fixes the issue for you?
oded-el commented
Yea it fixes, thank you