[Python-checkins] r56919 - doctools/trunk/Doc-3k/reference/compound_stmts.rst doctools/trunk/Doc-3k/reference/expressions.rst

georg.brandl python-checkins at python.org
Sat Aug 11 09:54:32 CEST 2007


Author: georg.brandl
Date: Sat Aug 11 09:54:32 2007
New Revision: 56919

Modified:
   doctools/trunk/Doc-3k/reference/compound_stmts.rst
   doctools/trunk/Doc-3k/reference/expressions.rst
Log:
Remove a few mentions of deprecated features long gone.


Modified: doctools/trunk/Doc-3k/reference/compound_stmts.rst
==============================================================================
--- doctools/trunk/Doc-3k/reference/compound_stmts.rst	(original)
+++ doctools/trunk/Doc-3k/reference/compound_stmts.rst	Sat Aug 11 09:54:32 2007
@@ -240,10 +240,7 @@
 expression, that expression is evaluated, and the clause matches the exception
 if the resulting object is "compatible" with the exception.  An object is
 compatible with an exception if it is the class or a base class of the exception
-object, a tuple containing an item compatible with the exception, or, in the
-(deprecated) case of string exceptions, is the raised string itself (note that
-the object identities must match, i.e. it must be the same string object, not
-just a string with the same value).
+object or a tuple containing an item compatible with the exception.
 
 If no except clause matches the exception, the search for an exception handler
 continues in the surrounding code and on the invocation stack.  [#]_

Modified: doctools/trunk/Doc-3k/reference/expressions.rst
==============================================================================
--- doctools/trunk/Doc-3k/reference/expressions.rst	(original)
+++ doctools/trunk/Doc-3k/reference/expressions.rst	Sat Aug 11 09:54:32 2007
@@ -856,10 +856,9 @@
 known as interpolation). The syntax for string formatting is described in the
 Python Library Reference, section :ref:`string-formatting`.
 
-.. deprecated:: 2.3
-   The floor division operator, the modulo operator, and the :func:`divmod`
-   function are no longer defined for complex numbers.  Instead, convert to a
-   floating point number using the :func:`abs` function if appropriate.
+The floor division operator, the modulo operator, and the :func:`divmod`
+function are not defined for complex numbers.  Instead, convert to a
+floating point number using the :func:`abs` function if appropriate.
 
 .. index:: single: addition
 


More information about the Python-checkins mailing list