gh-106320: Remove private _Py_UniversalNewlineFgetsWithSize() (#108602) · python/cpython@8d8bf0b

GitHub

Original file line numberDiff line numberDiff line change@@ -3,7 +3,6 @@

33#endif

4455PyAPI_FUNC(char*) Py_UniversalNewlineFgets(char*, int, FILE*, PyObject*);

6-PyAPI_FUNC(char*) _Py_UniversalNewlineFgetsWithSize(char*, int, FILE*, PyObject*, size_t*);

7687/* The std printer acts as a preliminary sys.stderr until the new io

98 infrastructure is in place. */

Original file line numberDiff line numberDiff line change@@ -315,6 +315,8 @@ extern HRESULT PathCchSkipRoot(const wchar_t *pszPath, const wchar_t **ppszRootE

315315// Export for 'select' shared extension (Argument Clinic code)

316316PyAPI_FUNC(int) _PyLong_FileDescriptor_Converter(PyObject*, void*);

317317318+externchar*_Py_UniversalNewlineFgetsWithSize(char*, int, FILE*, PyObject*, size_t*);

319+318320#ifdef__cplusplus

319321}

320322#endif