[Python-checkins] r62331 - in python/trunk: Modules/main.c Python/getopt.c
georg.brandl
python-checkins at python.org
Sun Apr 13 22:50:29 CEST 2008
Author: georg.brandl
Date: Sun Apr 13 22:50:29 2008
New Revision: 62331
Log:
Improve -X error message.
Modified:
python/trunk/Modules/main.c
python/trunk/Python/getopt.c
Modified: python/trunk/Modules/main.c
==============================================================================
--- python/trunk/Modules/main.c (original)
+++ python/trunk/Modules/main.c Sun Apr 13 22:50:29 2008
@@ -390,7 +390,7 @@
skipfirstline = 1;
break;
- /* case 'X': reserved for non-standard arguments */
+ /* case 'X': reserved for implementation-specific arguments */
case 'U':
Py_UnicodeFlag++;
Modified: python/trunk/Python/getopt.c
==============================================================================
--- python/trunk/Python/getopt.c (original)
+++ python/trunk/Python/getopt.c Sun Apr 13 22:50:29 2008
@@ -88,7 +88,7 @@
if (option == 'X') {
fprintf(stderr,
- "-X is reserved for non-standard arguments\n");
+ "-X is reserved for implementation-specific arguments\n");
return '_';
}
More information about the Python-checkins
mailing list