Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 67193:b7be652daf6e
Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 28 Dec 2010 18:30:18 +0000 |
| parents | 713c6b6ca5ce |
| children | 3bf4d9f1660a |
line wrap: on
line diff
--- a/Python/pythonrun.c Tue Dec 28 17:12:43 2010 +0000 +++ b/Python/pythonrun.c Tue Dec 28 18:30:18 2010 +0000 @@ -78,6 +78,7 @@ 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' */
