mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merge 3.2
This commit is contained in:
commit
5c1da90f8c
4 changed files with 19 additions and 33 deletions
|
@ -227,33 +227,22 @@ always available.
|
|||
The struct sequence *flags* exposes the status of command line flags. The
|
||||
attributes are read only.
|
||||
|
||||
+------------------------------+------------------------------------------+
|
||||
| attribute | flag |
|
||||
+==============================+==========================================+
|
||||
| :const:`debug` | -d |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`division_warning` | -Q |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`inspect` | -i |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`interactive` | -i |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`optimize` | -O or -OO |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`dont_write_bytecode` | -B |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`no_user_site` | -s |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`no_site` | -S |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`ignore_environment` | -E |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`verbose` | -v |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`bytes_warning` | -b |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`quiet` | -q |
|
||||
+------------------------------+------------------------------------------+
|
||||
============================= =============================
|
||||
attribute flag
|
||||
============================= =============================
|
||||
:const:`debug` :option:`-d`
|
||||
:const:`division_warning` :option:`-Q`
|
||||
:const:`inspect` :option:`-i`
|
||||
:const:`interactive` :option:`-i`
|
||||
:const:`optimize` :option:`-O` or :option:`-OO`
|
||||
:const:`dont_write_bytecode` :option:`-B`
|
||||
:const:`no_user_site` :option:`-s`
|
||||
:const:`no_site` :option:`-S`
|
||||
:const:`ignore_environment` :option:`-E`
|
||||
:const:`verbose` :option:`-v`
|
||||
:const:`bytes_warning` :option:`-b`
|
||||
:const:`quiet` :option:`-q`
|
||||
============================= =============================
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
Added ``quiet`` attribute for the new :option:`-q` flag.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue