summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 5986fb8..2ec878f 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7341,6 +7341,7 @@ unicode_hash(PyUnicodeObject *self)
Py_UNICODE *p;
long x;
+ assert(_Py_HashSecret_Initialized);
if (self->hash != -1)
return self->hash;
len = Py_SIZE(self);