diff options
Diffstat (limited to 'Include/fileobject.h')
-rw-r--r-- | Include/fileobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h index 0b1678e..89e8dd6 100644 --- a/Include/fileobject.h +++ b/Include/fileobject.h @@ -28,6 +28,10 @@ PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors; #endif PyAPI_DATA(int) Py_HasFileSystemDefaultEncoding; +#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 +PyAPI_DATA(int) Py_UTF8Mode; +#endif + /* Internal API The std printer acts as a preliminary sys.stderr until the new io |