diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-24 16:39:07 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-24 16:39:07 +0100 |
commit | 670f4ff38f263ce6e63cbc9de7b214cfc35d4c6a (patch) | |
tree | 5adaf0a4a0778569e70c636576f8ac65dfb10c75 /Python/getopt.c | |
parent | 3209890fc38bcc25ca4275a81406f44905ed74c7 (diff) | |
parent | f7d7a25e1b644b9a72be9a93aec67b9be4c1f375 (diff) | |
download | cpython-670f4ff38f263ce6e63cbc9de7b214cfc35d4c6a.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); |