Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0aa9ee + f6622c8 commit ca819c3Copy full SHA for ca819c3
2 files changed
Objects/bytesobject.c
@@ -875,7 +875,9 @@ bytes_hash(PyBytesObject *a)
875
register unsigned char *p;
876
register Py_hash_t x;
877
878
+#ifdef Py_DEBUG
879
assert(_Py_HashSecret_Initialized);
880
+#endif
881
if (a->ob_shash != -1)
882
return a->ob_shash;
883
len = Py_SIZE(a);
Objects/unicodeobject.c
@@ -7673,7 +7673,9 @@ unicode_hash(PyUnicodeObject *self)
7673
Py_UNICODE *p;
7674
Py_hash_t x;
7675
7676
7677
7678
7679
if (self->hash != -1)
7680
return self->hash;
7681
len = Py_SIZE(self);
0 commit comments