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.
1 parent 7fddb4b commit f6622c8Copy full SHA for f6622c8
2 files changed
Objects/bytesobject.c
@@ -896,7 +896,9 @@ bytes_hash(PyBytesObject *a)
896
register unsigned char *p;
897
register long x;
898
899
+#ifdef Py_DEBUG
900
assert(_Py_HashSecret_Initialized);
901
+#endif
902
if (a->ob_shash != -1)
903
return a->ob_shash;
904
len = Py_SIZE(a);
Objects/unicodeobject.c
@@ -7341,7 +7341,9 @@ unicode_hash(PyUnicodeObject *self)
7341
Py_UNICODE *p;
7342
long x;
7343
7344
7345
7346
7347
if (self->hash != -1)
7348
return self->hash;
7349
len = Py_SIZE(self);
0 commit comments