mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
PYTHONFSENCODING is not available on Windows or Mac OS X
This commit is contained in:
parent
99435247e3
commit
9802b39c12
3 changed files with 16 additions and 8 deletions
|
@ -94,13 +94,15 @@ PYTHONSTARTUP: file executed on interactive startup (no default)\n\
|
|||
PYTHONPATH : '%c'-separated list of directories prefixed to the\n\
|
||||
default module search path. The result is sys.path.\n\
|
||||
";
|
||||
static char *usage_5 = "\
|
||||
PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n\
|
||||
The default module search path uses %s.\n\
|
||||
PYTHONCASEOK : ignore case in 'import' statements (Windows).\n\
|
||||
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n\
|
||||
PYTHONFSENCODING: Encoding used for the filesystem.\n\
|
||||
";
|
||||
static char *usage_5 =
|
||||
"PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n"
|
||||
" The default module search path uses %s.\n"
|
||||
"PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
|
||||
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
|
||||
#if !(defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T)) && !defined(__APPLE__)
|
||||
"PYTHONFSENCODING: Encoding used for the filesystem.\n"
|
||||
#endif
|
||||
;
|
||||
|
||||
FILE *
|
||||
_Py_wfopen(const wchar_t *path, const wchar_t *mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue