Remove useless argument of _PyUnicode_AsDefaultEncodedString()

This commit is contained in:
Victor Stinner 2011-03-02 01:03:11 +00:00
parent 6f58b6b504
commit f3fd733f92
8 changed files with 9 additions and 13 deletions

View file

@ -4975,7 +4975,7 @@ slot_tp_str(PyObject *self)
res = slot_tp_repr(self);
if (!res)
return NULL;
ress = _PyUnicode_AsDefaultEncodedString(res, NULL);
ress = _PyUnicode_AsDefaultEncodedString(res);
Py_DECREF(res);
return ress;
}