Skip to content

Commit 9652964

Browse files
committed
Implement hashing
1 parent 15c5f1f commit 9652964

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Parser/asdl_c.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ def visitModule(self, mod):
853853
{Py_tp_new, PyType_GenericNew},
854854
{Py_tp_free, PyObject_GC_Del},
855855
{Py_tp_richcompare, ast_richcompare},
856+
{Py_tp_hash, (hashfunc)_Py_HashPointer},
856857
{0, 0},
857858
};
858859

Python/Python-ast.c

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)