mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#16306: merge with 3.2.
This commit is contained in:
commit
8a6d1fed41
3 changed files with 17 additions and 4 deletions
|
@ -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"";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue