diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-17 20:54:53 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-17 20:54:53 +0000 |
commit | 8f67d0893f7170986b0ad370844318544270cbcc (patch) | |
tree | 4aec6cf093d4d042d18d1fadc3ce52765d32bd8d /Objects/floatobject.c | |
parent | 6fb457526cef485d64f4f6744d81cae8c02032b3 (diff) | |
download | cpython-git-8f67d0893f7170986b0ad370844318544270cbcc.tar.gz |
make hashes always the size of pointers; introduce Py_hash_t #9778
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index b792c196e2..d0173e8d13 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -522,7 +522,7 @@ float_richcompare(PyObject *v, PyObject *w, int op) return Py_NotImplemented; } -static long +static Py_hash_t float_hash(PyFloatObject *v) { return _Py_HashDouble(v->ob_fval); |