Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/python3....
File: fileobject.h
/* File object interface (what's left of it -- see io.py) */
[0] Fix | Delete
[1] Fix | Delete
#ifndef Py_FILEOBJECT_H
[2] Fix | Delete
#define Py_FILEOBJECT_H
[3] Fix | Delete
#ifdef __cplusplus
[4] Fix | Delete
extern "C" {
[5] Fix | Delete
#endif
[6] Fix | Delete
[7] Fix | Delete
#define PY_STDIOTEXTMODE "b"
[8] Fix | Delete
[9] Fix | Delete
PyAPI_FUNC(PyObject *) PyFile_FromFd(int, const char *, const char *, int,
[10] Fix | Delete
const char *, const char *,
[11] Fix | Delete
const char *, int);
[12] Fix | Delete
PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *, int);
[13] Fix | Delete
PyAPI_FUNC(int) PyFile_WriteObject(PyObject *, PyObject *, int);
[14] Fix | Delete
PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *);
[15] Fix | Delete
PyAPI_FUNC(int) PyObject_AsFileDescriptor(PyObject *);
[16] Fix | Delete
#ifndef Py_LIMITED_API
[17] Fix | Delete
PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *);
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
/* The default encoding used by the platform file system APIs
[21] Fix | Delete
If non-NULL, this is different than the default encoding for strings
[22] Fix | Delete
*/
[23] Fix | Delete
PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
[24] Fix | Delete
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000
[25] Fix | Delete
PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors;
[26] Fix | Delete
#endif
[27] Fix | Delete
PyAPI_DATA(int) Py_HasFileSystemDefaultEncoding;
[28] Fix | Delete
[29] Fix | Delete
/* Internal API
[30] Fix | Delete
[31] Fix | Delete
The std printer acts as a preliminary sys.stderr until the new io
[32] Fix | Delete
infrastructure is in place. */
[33] Fix | Delete
#ifndef Py_LIMITED_API
[34] Fix | Delete
PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int);
[35] Fix | Delete
PyAPI_DATA(PyTypeObject) PyStdPrinter_Type;
[36] Fix | Delete
#endif /* Py_LIMITED_API */
[37] Fix | Delete
[38] Fix | Delete
/* A routine to check if a file descriptor can be select()-ed. */
[39] Fix | Delete
#ifdef HAVE_SELECT
[40] Fix | Delete
#define _PyIsSelectable_fd(FD) ((unsigned int)(FD) < (unsigned int)FD_SETSIZE)
[41] Fix | Delete
#else
[42] Fix | Delete
#define _PyIsSelectable_fd(FD) (1)
[43] Fix | Delete
#endif /* HAVE_SELECT */
[44] Fix | Delete
[45] Fix | Delete
#ifdef __cplusplus
[46] Fix | Delete
}
[47] Fix | Delete
#endif
[48] Fix | Delete
#endif /* !Py_FILEOBJECT_H */
[49] Fix | Delete
[50] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function