diff options
author | Kristjan Valur Jonsson <sweskman@gmail.com> | 2011-03-30 11:24:58 +0000 |
---|---|---|
committer | Kristjan Valur Jonsson <sweskman@gmail.com> | 2011-03-30 11:24:58 +0000 |
commit | c1b1930e7591b395dee499765ec40dfb946b019c (patch) | |
tree | b4c52b0c46bc31544d6ad32ed7ff1bb501e60d80 /Python/getopt.c | |
parent | 6e5ebc654984fbc7db6148197a89d0e7d4cf435c (diff) | |
parent | 2bb0258a88cb339cafb87163c7194484dff0efd9 (diff) | |
download | cpython-c1b1930e7591b395dee499765ec40dfb946b019c.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); |