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 4e6681d commit b994feeCopy full SHA for b994fee
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