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 1dac95c commit 9ce0f48Copy full SHA for 9ce0f48
1 file changed
Modules/hashlib.h
@@ -8,7 +8,7 @@
8
#define GET_BUFFER_VIEW_OR_ERROR(obj, viewp, erraction) do { \
9
if (PyUnicode_Check((obj))) { \
10
PyErr_SetString(PyExc_TypeError, \
11
- "Unicode-objects must be encoded before hashing");\
+ "Strings must be encoded before hashing");\
12
erraction; \
13
} \
14
if (!PyObject_CheckBuffer((obj))) { \
0 commit comments