#16306: merge with 3.3.

This commit is contained in:
Ezio Melotti 2012-11-23 19:01:42 +02:00
commit 8b9a8f3c98
3 changed files with 17 additions and 4 deletions

View file

@ -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"";