summaryrefslogtreecommitdiffstats
path: root/Include/cpython/fileutils.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-09 19:54:31 (GMT)
committerGitHub <noreply@github.com>2020-12-09 19:54:31 (GMT)
commitca064402079f889226cb107b26b329891431c319 (patch)
treeb2181d7e84a9a5338e453d04d6c85e00be2a0645 /Include/cpython/fileutils.h
parent550e4673be538d98b6ddf5550b3922539cf5c4b2 (diff)
downloadcpython-ca064402079f889226cb107b26b329891431c319.zip
cpython-ca064402079f889226cb107b26b329891431c319.tar.gz
cpython-ca064402079f889226cb107b26b329891431c319.tar.bz2
bpo-32381: Remove unused _Py_fopen() function (GH-23711)
Remove the private _Py_fopen() function which is no longer needed. Use _Py_wfopen() or _Py_fopen_obj() instead.
Diffstat (limited to 'Include/cpython/fileutils.h')
-rw-r--r--Include/cpython/fileutils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/cpython/fileutils.h b/Include/cpython/fileutils.h
index e79d03e..312fd95 100644
--- a/Include/cpython/fileutils.h
+++ b/Include/cpython/fileutils.h
@@ -95,10 +95,6 @@ PyAPI_FUNC(FILE *) _Py_wfopen(
const wchar_t *path,
const wchar_t *mode);
-PyAPI_FUNC(FILE*) _Py_fopen(
- const char *pathname,
- const char *mode);
-
PyAPI_FUNC(FILE*) _Py_fopen_obj(
PyObject *path,
const char *mode);