diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index a5ffc56..cd17789 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7673,7 +7673,9 @@ unicode_hash(PyUnicodeObject *self) Py_UNICODE *p; Py_hash_t x; +#ifdef Py_DEBUG assert(_Py_HashSecret_Initialized); +#endif if (self->hash != -1) return self->hash; len = Py_SIZE(self); |