diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-23 19:01:42 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-23 19:01:42 +0200 |
| commit | fc50f9b02eeec793d413f9485691e1deab2f242b (patch) | |
| tree | 5b732e5614fd23aade26cbbaf122dab643dd9970 /Python/getopt.c | |
| parent | 7e7f636877ad5a8e0498375109bad581cf2d60bd (diff) | |
| parent | ca2822fba1a8b14d95a38bf83b68b46cf224c89d (diff) | |
| download | cpython-fc50f9b02eeec793d413f9485691e1deab2f242b.tar.gz | |
#16306: merge with 3.3.
Diffstat (limited to 'Python/getopt.c')
| -rw-r--r-- | Python/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getopt.c b/Python/getopt.c index 037aa5db51..5cf4cbd7bb 100644 --- a/Python/getopt.c +++ b/Python/getopt.c @@ -45,7 +45,7 @@ static wchar_t *opt_ptr = L""; void _PyOS_ResetGetOpt(void) { - _PyOS_opterr = 0; /* prevent printing the error in 2nd loop in main.c */ + _PyOS_opterr = 1; _PyOS_optind = 1; _PyOS_optarg = NULL; opt_ptr = L""; |
