summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
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)
commitbe3bd57ba22f7bda63dc0215b49b993a530e6145 (patch)
treea87174ae1006793d5c800a9374d911bfe9daa89b /Python/sysmodule.c
parent79fe2a3462f2f9a18092adc88791d332f1e724bb (diff)
downloadcpython-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/sysmodule.c')
-rw-r--r--Python/sysmodule.c6
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);