Add a note about future import needed for with statement.

This commit is contained in:
Georg Brandl 2007-12-15 09:36:15 +00:00
parent caff05d26b
commit 52550e593d
1 changed files with 4 additions and 0 deletions

View File

@ -3834,6 +3834,10 @@ even if a problem was encountered while processing the lines. Other
objects which provide predefined clean-up actions will indicate
this in their documentation.
\note{Since \keyword{with} is a new language keyword, it must be
enabled by executing \code{from __future__ import with_statement}
in Python 2.5. From 2.6 on, it will always be enabled.}
\chapter{Classes \label{classes}}