diff options
author | Éric Araujo <merwok@netwok.org> | 2011-03-26 00:55:15 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-03-26 00:55:15 (GMT) |
commit | be3bd57ba22f7bda63dc0215b49b993a530e6145 (patch) | |
tree | a87174ae1006793d5c800a9374d911bfe9daa89b /Python | |
parent | 79fe2a3462f2f9a18092adc88791d332f1e724bb (diff) | |
download | cpython-be3bd57ba22f7bda63dc0215b49b993a530e6145.zip cpython-be3bd57ba22f7bda63dc0215b49b993a530e6145.tar.gz cpython-be3bd57ba22f7bda63dc0215b49b993a530e6145.tar.bz2 |
Remove traces of division_warning left over from Python 2 (#10998)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/sysmodule.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 31c6939..33255ad 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1312,7 +1312,6 @@ static PyTypeObject FlagsType; static PyStructSequence_Field flags_fields[] = { {"debug", "-d"}, - {"division_warning", "-Q"}, {"inspect", "-i"}, {"interactive", "-i"}, {"optimize", "-O or -OO"}, @@ -1336,9 +1335,9 @@ static PyStructSequence_Desc flags_desc = { flags__doc__, /* doc */ flags_fields, /* fields */ #ifdef RISCOS - 13 -#else 12 +#else + 11 #endif }; @@ -1356,7 +1355,6 @@ make_flags(void) PyStructSequence_SET_ITEM(seq, pos++, PyLong_FromLong(flag)) SetFlag(Py_DebugFlag); - SetFlag(Py_DivisionWarningFlag); SetFlag(Py_InspectFlag); SetFlag(Py_InteractiveFlag); SetFlag(Py_OptimizeFlag); |