mirror of
https://github.com/python/cpython.git
synced 2026-02-05 09:25:35 +00:00
merge 2.6
This commit is contained in:
commit
9d7601fcea
4 changed files with 14 additions and 4 deletions
|
|
@ -1262,6 +1262,7 @@ string_hash(PyStringObject *a)
|
|||
register unsigned char *p;
|
||||
register long x;
|
||||
|
||||
assert(_Py_HashSecret_Initialized);
|
||||
if (a->ob_shash != -1)
|
||||
return a->ob_shash;
|
||||
len = Py_SIZE(a);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue