diff options
author | Brian Curtin <brian@python.org> | 2011-04-29 16:11:30 -0500 |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2011-04-29 16:11:30 -0500 |
commit | 25cfac3cac53b7a7bd968a08ef69e016ebc685b9 (patch) | |
tree | 77977fe0ae956219c1eac08bcdf3d2ac8701cd55 /Python/getopt.c | |
parent | f867c0ba400d15dd934a980de287b8c6daa662a5 (diff) | |
parent | e1a1eb575eed13acdfc5407ee576e0032e01482d (diff) | |
download | cpython-25cfac3cac53b7a7bd968a08ef69e016ebc685b9.tar.gz |
merge
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); |