summaryrefslogtreecommitdiff
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-04-24 02:42:52 +0200
committerÉric Araujo <merwok@netwok.org>2011-04-24 02:42:52 +0200
commit995f9c25cb84dca8b32ded12294248f124f104ba (patch)
treeba69ecfe2b25d9d1728bb29a1202ae9d47e582a0 /Python/getopt.c
parent63f518b88a2be3126d4068caf80ab85a50d5cabc (diff)
parentdcb455140c3b558922c27b9bd935032cf0b35fc7 (diff)
downloadcpython-995f9c25cb84dca8b32ded12294248f124f104ba.tar.gz
Merge 3.1
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);