diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-03-22 18:19:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 18:19:10 (GMT) |
commit | e2e0b4b4b92694ba894e02b4a66fd87c166ed10f (patch) | |
tree | 5ed883afb7db70957444e4df8adca74af54eef17 /PC | |
parent | 567ab3bd15398c8c7b791f3e376ae3e3c0bbe079 (diff) | |
download | cpython-e2e0b4b4b92694ba894e02b4a66fd87c166ed10f.zip cpython-e2e0b4b4b92694ba894e02b4a66fd87c166ed10f.tar.gz cpython-e2e0b4b4b92694ba894e02b4a66fd87c166ed10f.tar.bz2 |
gh-113024: C API: Add PyObject_GenericHash() function (GH-113025)
Diffstat (limited to 'PC')
-rw-r--r-- | PC/winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/winreg.c b/PC/winreg.c index 77b8021..8096d17 100644 --- a/PC/winreg.c +++ b/PC/winreg.c @@ -200,7 +200,7 @@ PyHKEY_hashFunc(PyObject *ob) /* Just use the address. XXX - should we use the handle value? */ - return _Py_HashPointer(ob); + return PyObject_GenericHash(ob); } |