mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
gh-127350: Add Py_fopen() and Py_fclose() functions (#127821)
This commit is contained in:
parent
7e8c571604
commit
f89e5e20cb
18 changed files with 270 additions and 53 deletions
|
@ -2356,7 +2356,7 @@ static PyObject *
|
|||
sys__dump_tracelets_impl(PyObject *module, PyObject *outpath)
|
||||
/*[clinic end generated code: output=a7fe265e2bc3b674 input=5bff6880cd28ffd1]*/
|
||||
{
|
||||
FILE *out = _Py_fopen_obj(outpath, "wb");
|
||||
FILE *out = Py_fopen(outpath, "wb");
|
||||
if (out == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue