mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
This commit is contained in:
parent
6f58b6b504
commit
f3fd733f92
8 changed files with 9 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue