summaryrefslogtreecommitdiffstats
path: root/Doc/reference/compound_stmts.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-05 21:42:51 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-05 21:42:51 (GMT)
commite06de8b3cc279804f7f38a8002ca171094f83f55 (patch)
treee9b58dae5efa86f0c50fd0bdb68ce6354b670ceb /Doc/reference/compound_stmts.rst
parent7694100e4b44a6dd965964af323e5e0c23ffc897 (diff)
downloadcpython-e06de8b3cc279804f7f38a8002ca171094f83f55.zip
cpython-e06de8b3cc279804f7f38a8002ca171094f83f55.tar.gz
cpython-e06de8b3cc279804f7f38a8002ca171094f83f55.tar.bz2
#2762: remove 2.x remnants and patch up some new documentation.
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r--Doc/reference/compound_stmts.rst11
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index c81c75f..ed770cb 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -334,12 +334,6 @@ Additional information on exceptions can be found in section :ref:`exceptions`,
and information on using the :keyword:`raise` statement to generate exceptions
may be found in section :ref:`raise`.
-.. seealso::
-
- :pep:`3110` - Catching exceptions in Python 3000
- Describes the differences in :keyword:`try` statements between Python 2.x
- and 3.0.
-
.. _with:
.. _as:
@@ -390,11 +384,6 @@ The execution of the :keyword:`with` statement proceeds as follows:
value from :meth:`__exit__` is ignored, and execution proceeds at the normal
location for the kind of exit that was taken.
-
- In Python 2.5, the :keyword:`with` statement is only allowed when the
- ``with_statement`` feature has been enabled. It is always enabled in
- Python 2.6.
-
.. seealso::
:pep:`0343` - The "with" statement