Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 68950:c19752ea037f
Remove traces of division_warning left over from Python 2 (#10998)
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Sat, 26 Mar 2011 01:55:15 +0100 |
| parents | 4c1a15ebebe5 |
| children | 92212a7b85a3 |
line wrap: on
line diff
--- a/Python/sysmodule.c Fri Mar 25 16:20:16 2011 -0400 +++ b/Python/sysmodule.c Sat Mar 26 01:55:15 2011 +0100 @@ -1312,7 +1312,6 @@ static PyStructSequence_Field flags_fields[] = { {"debug", "-d"}, - {"division_warning", "-Q"}, {"inspect", "-i"}, {"interactive", "-i"}, {"optimize", "-O or -OO"}, @@ -1336,9 +1335,9 @@ flags__doc__, /* doc */ flags_fields, /* fields */ #ifdef RISCOS - 13 + 12 #else - 12 + 11 #endif }; @@ -1356,7 +1355,6 @@ PyStructSequence_SET_ITEM(seq, pos++, PyLong_FromLong(flag)) SetFlag(Py_DebugFlag); - SetFlag(Py_DivisionWarningFlag); SetFlag(Py_InspectFlag); SetFlag(Py_InteractiveFlag); SetFlag(Py_OptimizeFlag);
