summaryrefslogtreecommitdiffstats
path: root/Include/cpython/fileobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-26 01:18:09 (GMT)
committerGitHub <noreply@github.com>2023-08-26 01:18:09 (GMT)
commit6353c21b78a3d91e7cd7810f1c00258a34e85fe7 (patch)
treefdb9e8068ae4f9fd472718cea32dab935b5064a6 /Include/cpython/fileobject.h
parent713afb8804666405f29115cf459b591308e3ab54 (diff)
downloadcpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.zip
cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.tar.gz
cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.tar.bz2
gh-106320: Remove private _PyLong_FileDescriptor_Converter() (#108503)
Move the private _PyLong converter functions to the internal C API * _PyLong_FileDescriptor_Converter(): moved to pycore_fileutils.h * _PyLong_Size_t_Converter(): moved to pycore_long.h Argument Clinic now emits includes for pycore_fileutils.h and pycore_long.h when these functions are used.
Diffstat (limited to 'Include/cpython/fileobject.h')
-rw-r--r--Include/cpython/fileobject.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/cpython/fileobject.h b/Include/cpython/fileobject.h
index b70ec31..6fbe696 100644
--- a/Include/cpython/fileobject.h
+++ b/Include/cpython/fileobject.h
@@ -15,5 +15,3 @@ typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *);
PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path);
PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path);
PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData);
-
-PyAPI_FUNC(int) _PyLong_FileDescriptor_Converter(PyObject *, void *);