summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/whatsnew25.tex
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-04-06 13:24:58 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-04-06 13:24:58 (GMT)
commita4d651fbc8055a59a20e52ddc745a511a1c0b431 (patch)
treefd9b94710d32b94de3b93989debdc7459de2eabf /Doc/whatsnew/whatsnew25.tex
parent4d8cd8957af4e3c7894dfa215f5e0476607a3de4 (diff)
downloadcpython-a4d651fbc8055a59a20e52ddc745a511a1c0b431.zip
cpython-a4d651fbc8055a59a20e52ddc745a511a1c0b431.tar.gz
cpython-a4d651fbc8055a59a20e52ddc745a511a1c0b431.tar.bz2
Fix unfinished paragraph; markup fix
Diffstat (limited to 'Doc/whatsnew/whatsnew25.tex')
-rw-r--r--Doc/whatsnew/whatsnew25.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 7d97411..91ade01 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -3,7 +3,7 @@
% $Id$
% Fix XXX comments
-% Distutils upload
+% Distutils upload (PEP 243)
% The easy_install stuff
% xml.etree section
% added sqlite3
@@ -545,8 +545,10 @@ First, I'll discuss the statement as it will commonly be used, and
then I'll discuss the detailed implementation and how to write objects
(called ``context managers'') that can be used with this statement.
Most people, who will only use \keyword{with} in company with an
-existing object, don't need to know these details, but can
-Authors of new context managers will need to understand the
+existing object, don't need to know these details and can
+just use objects that are documented to work as context managers.
+Authors of new context managers will need to understand the details of
+the underlying implementation.
The \keyword{with} statement is a new control-flow structure whose
basic structure is:
@@ -745,7 +747,7 @@ may therefore need to have some variables changed to
The \cfunction{PyArg_ParseTuple()} and \cfunction{Py_BuildValue()} functions
have a new conversion code, \samp{n}, for \ctype{Py_ssize_t}.
-\cfunction{PyArg_ParseTuple()}'s \samp{s#} and \samp{t#} still output
+\cfunction{PyArg_ParseTuple()}'s \samp{s\#} and \samp{t\#} still output
\ctype{int} by default, but you can define the macro
\csimplemacro{PY_SSIZE_T_CLEAN} before including \file{Python.h}
to make them return \ctype{Py_ssize_t}.