mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Py3k warnings now automatically include -Qwarn for division.
This commit is contained in:
parent
c8223b09b0
commit
08259e8f25
2 changed files with 5 additions and 0 deletions
|
@ -317,6 +317,8 @@ Py_Main(int argc, char **argv)
|
|||
|
||||
case '3':
|
||||
Py_Py3kWarningFlag++;
|
||||
if (!Py_DivisionWarningFlag)
|
||||
Py_DivisionWarningFlag = 1;
|
||||
break;
|
||||
|
||||
case 'Q':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue