[Python-checkins] cpython (3.1): Tweaks to sys.flags description table. (original) (raw)
eric.araujo python-checkins at python.org
Sat Mar 26 02:04:08 CET 2011
- Previous message: [Python-checkins] cpython (3.1): Remove untrue statement from tutorial
- Next message: [Python-checkins] cpython (merge 3.1 -> 3.1): Branch merge
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/cpython/rev/0d2ef718ae67 changeset: 68947:0d2ef718ae67 branch: 3.1 user: Éric Araujo <merwok at netwok.org> date: Sat Mar 26 00:47:04 2011 +0100 summary: Tweaks to sys.flags description table. The options listed in the table are now links to their documentation, and the table uses compact markup to make it easier to read and edit. First proposed in #10998.
files: Doc/library/sys.rst | 40 ++++++++++++-------------------- 1 files changed, 15 insertions(+), 25 deletions(-)
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -206,31 +206,21 @@ 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 | - +------------------------------+------------------------------------------+
- ============================= =============================
- attribute flag
- ============================= =============================
- :const:
debug:option:-d - :const:
division_warning:option:-Q - :const:
inspect:option:-i - :const:
interactive:option:-i - :const:
optimize:option:-Oor :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 - ============================= =============================
.. data:: float_info
-- Repository URL: http://hg.python.org/cpython
- Previous message: [Python-checkins] cpython (3.1): Remove untrue statement from tutorial
- Next message: [Python-checkins] cpython (merge 3.1 -> 3.1): Branch merge
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]