Download include/python3.9/fileobject.h from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/fileobject.h
- Command line
-
hf download hf://camenduru/slahmr-test/include/python3.9/fileobject.h
-
curl -L -o fileobject.h https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/fileobject.h
1.57 kB
| /* File object interface (what's left of it -- see io.py) */ | |
| extern "C" { | |
| PyAPI_FUNC(PyObject *) PyFile_FromFd(int, const char *, const char *, int, | |
| const char *, const char *, | |
| const char *, int); | |
| PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *, int); | |
| PyAPI_FUNC(int) PyFile_WriteObject(PyObject *, PyObject *, int); | |
| PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *); | |
| PyAPI_FUNC(int) PyObject_AsFileDescriptor(PyObject *); | |
| /* The default encoding used by the platform file system APIs | |
| If non-NULL, this is different than the default encoding for strings | |
| */ | |
| PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; | |
| PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors; | |
| PyAPI_DATA(int) Py_HasFileSystemDefaultEncoding; | |
| PyAPI_DATA(int) Py_UTF8Mode; | |
| /* A routine to check if a file descriptor can be select()-ed. */ | |
| /* On Windows, any socket fd can be select()-ed, no matter how high */ | |
| } | |