Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5c7fc7

Browse files
Fixed formatting comman-line usage message.
2 parents a7161e7 + 1ba0161 commit b5c7fc7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Modules/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ file : program read from script file\n\
8585
arg ...: arguments passed to program in sys.argv[1:]\n\n\
8686
Other environment variables:\n\
8787
PYTHONSTARTUP: file executed on interactive startup (no default)\n\
88-
PYTHONPATH : '%c'-separated list of directories prefixed to the\n\
88+
PYTHONPATH : '%lc'-separated list of directories prefixed to the\n\
8989
default module search path. The result is sys.path.\n\
9090
";
9191
static const char usage_5[] =
92-
"PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n"
92+
"PYTHONHOME : alternate <prefix> directory (or <prefix>%lc<exec_prefix>).\n"
9393
" The default module search path uses %s.\n"
9494
"PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
9595
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
@@ -114,8 +114,8 @@ usage(int exitcode, const wchar_t* program)
114114
fputs(usage_1, f);
115115
fputs(usage_2, f);
116116
fputs(usage_3, f);
117-
fprintf(f, usage_4, DELIM);
118-
fprintf(f, usage_5, DELIM, PYTHONHOMEHELP);
117+
fprintf(f, usage_4, (wint_t)DELIM);
118+
fprintf(f, usage_5, (wint_t)DELIM, PYTHONHOMEHELP);
119119
fputs(usage_6, f);
120120
}
121121
return exitcode;

0 commit comments

Comments
 (0)