Closed lacraig2 closed 2 years ago
The class node is essentially a wrapper around a dict.
Adding a hash method makes it compatible with a lot of data structures (e.g. set).
Thanks for the pull request. Can you please reword the commit message to
ast: add hash method to node
Sure. Done.
The class node is essentially a wrapper around a dict.
Adding a hash method makes it compatible with a lot of data structures (e.g. set).