diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-04-09 19:31:06 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-04-09 19:31:06 (GMT) |
commit | f93fc0411bef9bb1fc781cc76427b6e52c7affd9 (patch) | |
tree | b7979d10570887a71f975bab5051de56160c8ebd /Objects/unicodeobject.c | |
parent | e37f8b29fcba54807c5b60208b68de379a8dd01a (diff) | |
parent | 4a1e7cb06c09c7c7146b4c8a3f35419c379a1143 (diff) | |
download | cpython-f93fc0411bef9bb1fc781cc76427b6e52c7affd9.zip cpython-f93fc0411bef9bb1fc781cc76427b6e52c7affd9.tar.gz cpython-f93fc0411bef9bb1fc781cc76427b6e52c7affd9.tar.bz2 |
Merge.
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 bff33d9..7e73bc2 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -11335,7 +11335,9 @@ unicode_hash(PyObject *self) Py_ssize_t len; Py_uhash_t x; +#ifdef Py_DEBUG assert(_Py_HashSecret_Initialized); +#endif if (_PyUnicode_HASH(self) != -1) return _PyUnicode_HASH(self); if (PyUnicode_READY(self) == -1) |