mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove a few mentions of deprecated features long gone.
This commit is contained in:
parent
92920dfadd
commit
fc357f4f81
@ -240,10 +240,7 @@ present, must be last; it matches any exception. For an except clause with an
|
||||
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. [#]_
|
||||
|
@ -856,10 +856,9 @@ also overloaded by string and unicode objects to perform string formatting (also
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user