mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Issue #6012: Add cleanup support to O& argument parsing.
This commit is contained in:
parent
2703fd9134
commit
c15bdef819
9 changed files with 120 additions and 11 deletions
|
|
@ -804,8 +804,6 @@ posix_2str(PyObject *args,
|
|||
if (!PyArg_ParseTuple(args, format,
|
||||
PyUnicode_FSConverter, &opath1,
|
||||
PyUnicode_FSConverter, &opath2)) {
|
||||
Py_XDECREF(opath1);
|
||||
Py_XDECREF(opath2);
|
||||
return NULL;
|
||||
}
|
||||
path1 = bytes2str(opath1, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue