diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-03-28 17:25:50 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-03-28 17:25:50 -0500 |
commit | cb36c0998fcdc9c4c745b387ac987d994377675d (patch) | |
tree | d0f96c96d34d08bc08f31d695fd80b9b9cabeb3b /Python/getopt.c | |
parent | a21598e22f21ca84031277b1c030b92f9d82dda3 (diff) | |
parent | dce235203d23310e1ca12e8a8a8ed8be8e585a12 (diff) | |
download | cpython-cb36c0998fcdc9c4c745b387ac987d994377675d.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); |