Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(152064)

Unified Diff: Modules/main.c

Issue 18338: python --version should send output to STDOUT
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_cmd_line.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/main.c Tue Jul 09 19:16:32 2013 +0200
+++ b/Modules/main.c Tue Jul 09 18:19:08 2013 -0500
@@ -500,7 +500,7 @@
return usage(0, argv[0]);
if (version) {
- fprintf(stderr, "Python %s\n", PY_VERSION);
+ printf("Python %s\n", PY_VERSION);
return 0;
}
« no previous file with comments | « Lib/test/test_cmd_line.py ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+