diff options
author | Georg Brandl <georg@python.org> | 2009-04-27 16:20:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-27 16:20:50 (GMT) |
commit | e720c0aa74ca8e6cf350b808c6ca795e587ebf88 (patch) | |
tree | d98ed50657772424243a590928333f96a61bb525 /Doc/reference | |
parent | c67d362a89fe6076120f6de706725c313f515122 (diff) | |
download | cpython-e720c0aa74ca8e6cf350b808c6ca795e587ebf88.zip cpython-e720c0aa74ca8e6cf350b808c6ca795e587ebf88.tar.gz cpython-e720c0aa74ca8e6cf350b808c6ca795e587ebf88.tar.bz2 |
Merged revisions 72009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
........
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 2 | ||||
-rw-r--r-- | Doc/reference/executionmodel.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index d9d11b5..b8dd17e 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -186,7 +186,7 @@ the built-in function :func:`range` returns an iterator of integers suitable to emulate the effect of Pascal's ``for i := a to b do``; e.g., ``range(3)`` returns the list ``[0, 1, 2]``. -.. warning:: +.. note:: .. index:: single: loop; over mutable sequence diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index ca8bc2b..92a1b31 100644 --- a/Doc/reference/executionmodel.rst +++ b/Doc/reference/executionmodel.rst @@ -222,7 +222,7 @@ selected depending on the class of the instance: it must reference the class of the instance or a base class thereof. The instance can be received by the handler and can carry additional information about the exceptional condition. -.. warning:: +.. note:: Exception messages are not part of the Python API. Their contents may change from one version of Python to the next without warning and should not be |