diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-04-20 19:24:09 +0200 |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-04-20 19:24:09 +0200 |
| commit | 4ca0e9bd5d1eb5903c5468873d4ee4698694a0e7 (patch) | |
| tree | 44ec36f33d3deba5adc56a474bfddacd4e3154d4 /Python/getopt.c | |
| parent | 41598513037c981fa4331ba7d2aee2d1bccbc752 (diff) | |
| parent | dddd564aa79363d956c536c7fe4626a19beb03bd (diff) | |
| download | cpython-4ca0e9bd5d1eb5903c5468873d4ee4698694a0e7.tar.gz | |
Merge 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); |
