summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-08-19 11:36:43 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-08-19 11:36:43 (GMT)
commit9802b39c12712e924bed699812756ce5076b77a3 (patch)
treec766f8d6c74bd12b361fbdd0e6f423e62a768f41 /Modules
parent99435247e39134c34cff185c6d73d8ebc77d07e1 (diff)
downloadcpython-9802b39c12712e924bed699812756ce5076b77a3.zip
cpython-9802b39c12712e924bed699812756ce5076b77a3.tar.gz
cpython-9802b39c12712e924bed699812756ce5076b77a3.tar.bz2
PYTHONFSENCODING is not available on Windows or Mac OS X
Diffstat (limited to 'Modules')
-rw-r--r--Modules/main.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/Modules/main.c b/Modules/main.c
index a5c8905..dc8d84c 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -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)