diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 1d35c3d..11146ff 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -901,8 +901,6 @@ PyObject *PyUnicode_EncodeUTF8(const Py_UNICODE *s, PyObject *PyUnicode_AsUTF8String(PyObject *unicode) { - PyObject *str; - if (!PyUnicode_Check(unicode)) { PyErr_BadArgument(); return NULL; |