summaryrefslogtreecommitdiff
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-03-27 16:30:07 +0100
committerMark Dickinson <mdickinson@enthought.com>2011-03-27 16:30:07 +0100
commitb7a14bffd1a15ac4255bbdba80a362eb38cf9188 (patch)
treeac8e86a911aa6cd67fc3d1b14370f1c600325f4c /Python/getopt.c
parent5476cbe2d4c8f691e7f96bd3f4d305eb0ed4259d (diff)
parent63ff4f1b1ea61de9866f4aa9d803b5cf474c9e25 (diff)
downloadcpython-b7a14bffd1a15ac4255bbdba80a362eb38cf9188.tar.gz
Merge #9696
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);