diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-03-27 21:07:13 +0200 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-03-27 21:07:13 +0200 |
commit | e5b28bc7ccd71ef30cfee95b1ead7c91c2fdaa8d (patch) | |
tree | 79ab2a4bb7ab2bf8b9bf81c9f47c747f84fb2c53 /Python/getopt.c | |
parent | 54cb78fb908fc53f67a06d99d91543444e855608 (diff) | |
parent | b7a14bffd1a15ac4255bbdba80a362eb38cf9188 (diff) | |
download | cpython-e5b28bc7ccd71ef30cfee95b1ead7c91c2fdaa8d.tar.gz |
merge #11696
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); |