summaryrefslogtreecommitdiff
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2011-04-29 16:11:30 -0500
committerBrian Curtin <brian@python.org>2011-04-29 16:11:30 -0500
commit25cfac3cac53b7a7bd968a08ef69e016ebc685b9 (patch)
tree77977fe0ae956219c1eac08bcdf3d2ac8701cd55 /Python/getopt.c
parentf867c0ba400d15dd934a980de287b8c6daa662a5 (diff)
parente1a1eb575eed13acdfc5407ee576e0032e01482d (diff)
downloadcpython-25cfac3cac53b7a7bd968a08ef69e016ebc685b9.tar.gz
merge
Diffstat (limited to 'Python/getopt.c')
-rw-r--r--Python/getopt.c6
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);