diff options
| author | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-26 21:10:23 +0800 |
|---|---|---|
| committer | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-26 21:10:23 +0800 |
| commit | 1aa611b27b5c6aca69579e7e873bb2ddddb1a2fc (patch) | |
| tree | 4d073d00abfaf5d7fbbf14d2b453823892adf00f /Python/getopt.c | |
| parent | 60186e61c8796c0e4cff2e681adee0be4c0b4d42 (diff) | |
| parent | 95cbf834835f9d8128ba7a418e2f5bc5f99aa32f (diff) | |
| download | cpython-1aa611b27b5c6aca69579e7e873bb2ddddb1a2fc.tar.gz | |
merge from 3.1
Diffstat (limited to 'Python/getopt.c')
| -rw-r--r-- | Python/getopt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/getopt.c b/Python/getopt.c index 5147320af2..064a1874ea 100644 --- a/Python/getopt.c +++ b/Python/getopt.c @@ -89,12 +89,6 @@ int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring) return '_'; } - if (option == 'X') { - fprintf(stderr, - "-X is reserved for implementation-specific arguments\n"); - return '_'; - } - if ((ptr = wcschr(optstring, option)) == NULL) { if (_PyOS_opterr) fprintf(stderr, "Unknown option: -%c\n", (char)option); |
