summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-28 18:30:18 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-28 18:30:18 (GMT)
commit8aa7e999b5ab87cdbefe441649c223647875c110 (patch)
tree1fc0ca2cc25768d07c0ac241a053c2e07809a919 /Python/pythonrun.c
parent31e3b77fea0a1c4703bade2c68b1252505a77bc7 (diff)
downloadcpython-8aa7e999b5ab87cdbefe441649c223647875c110.zip
cpython-8aa7e999b5ab87cdbefe441649c223647875c110.tar.gz
cpython-8aa7e999b5ab87cdbefe441649c223647875c110.tar.bz2
Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index f7335a2..e3836b8 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -78,6 +78,7 @@ extern void _PyGILState_Fini(void);
int Py_DebugFlag; /* Needed by parser.c */
int Py_VerboseFlag; /* Needed by import.c */
+int Py_QuietFlag; /* Needed by sysmodule.c */
int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
int Py_InspectFlag; /* Needed to determine whether to exit at SystemError */
int Py_NoSiteFlag; /* Suppress 'import site' */