mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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. ........
This commit is contained in:
parent
c67d362a89
commit
e720c0aa74
21 changed files with 65 additions and 40 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue