_PyFile_SanitizeMode

A routine to do sanity checking on the file mode string. returns non-zero on if an exception occurred Availability: 2.*

version(!Python_3_0_Or_Later && Python_2_5_Or_Later)
extern (C)
int
_PyFile_SanitizeMode
(
char* mode
)

Meta