diff options
Diffstat (limited to 'Python/pystrhex.c')
-rw-r--r-- | Python/pystrhex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pystrhex.c b/Python/pystrhex.c index e4f06d7..f798256 100644 --- a/Python/pystrhex.c +++ b/Python/pystrhex.c @@ -21,8 +21,6 @@ static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen, return NULL; } if (PyUnicode_Check(sep)) { - if (PyUnicode_READY(sep)) - return NULL; if (PyUnicode_KIND(sep) != PyUnicode_1BYTE_KIND) { PyErr_SetString(PyExc_ValueError, "sep must be ASCII."); return NULL; |