mirror of
https://github.com/python/cpython.git
synced 2025-07-15 15:25:29 +00:00
merge 3.2
This commit is contained in:
commit
e249dcab7a
5 changed files with 15 additions and 4 deletions
|
@ -7673,6 +7673,7 @@ unicode_hash(PyUnicodeObject *self)
|
|||
Py_UNICODE *p;
|
||||
Py_hash_t x;
|
||||
|
||||
assert(_Py_HashSecret_Initialized);
|
||||
if (self->hash != -1)
|
||||
return self->hash;
|
||||
len = Py_SIZE(self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue