diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-28 13:53:40 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-28 13:53:40 +0300 |
commit | dce235203d23310e1ca12e8a8a8ed8be8e585a12 (patch) | |
tree | 7a3b79eef005b8881e3175189ff9db64dd36e2f7 /Python/getopt.c | |
parent | 23bb1f0966b9d6b169f929dac91163cec082b741 (diff) | |
parent | e5b28bc7ccd71ef30cfee95b1ead7c91c2fdaa8d (diff) | |
download | cpython-dce235203d23310e1ca12e8a8a8ed8be8e585a12.tar.gz |
#10617: merge with 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); |