diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-21 16:09:13 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-21 16:09:13 (GMT) |
commit | e249dcab7ad8b1bd3b84a44974cfe2746e4269d1 (patch) | |
tree | eaf152bad01062780b3901e1c27ab6e2719b6eaf /Objects/bytesobject.c | |
parent | 4fe85abab9f0188733e654a72353217b43f95920 (diff) | |
parent | 69e9727657dad167215b656de910d95cefe1ee45 (diff) | |
download | cpython-e249dcab7ad8b1bd3b84a44974cfe2746e4269d1.zip cpython-e249dcab7ad8b1bd3b84a44974cfe2746e4269d1.tar.gz cpython-e249dcab7ad8b1bd3b84a44974cfe2746e4269d1.tar.bz2 |
merge 3.2
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r-- | Objects/bytesobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index d63fabc..62ddf21 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -875,6 +875,7 @@ bytes_hash(PyBytesObject *a) register unsigned char *p; register Py_hash_t x; + assert(_Py_HashSecret_Initialized); if (a->ob_shash != -1) return a->ob_shash; len = Py_SIZE(a); |