summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2005-03-20 21:42:04 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2005-03-20 21:42:04 (GMT)
commitb1c96fd83e706d795382e80052650b92d0f14fb3 (patch)
tree860f6275f23362464cb26d0c7fbef4f5e49501ba /Doc/whatsnew
parent0c35db9dd13113c26bab13b2027dd15ebce669e1 (diff)
downloadcpython-b1c96fd83e706d795382e80052650b92d0f14fb3.zip
cpython-b1c96fd83e706d795382e80052650b92d0f14fb3.tar.gz
cpython-b1c96fd83e706d795382e80052650b92d0f14fb3.tar.bz2
Write part of PEP 309 section
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew25.tex23
1 files changed, 22 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index bdcc05e..869eb58 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -28,7 +28,28 @@ rationale, refer to the PEP for a particular new feature.
%======================================================================
\section{PEP 309: Partial Function Application}
-XXX describe this PEP.
+For programs written in a functional style, it can be useful to
+construct variants of existing functions that have some of the
+parameters filled in. This is called ``partial function application''.
+The new \module{functional} module contains a \class{partial} class
+that provides partial application.
+
+The \module{functional} module is intended to contain tools for
+functional-style programming. Currently it only contains
+\class{partial}, but new functions will probably be added in future
+versions of Python.
+
+% XXX write rest of this
+% XXX add example from my GTk programming
+
+
+\begin{seealso}
+
+\seepep{309}{Partial Function Application}{PEP proposed and written by
+Peter Harris; implemented by Hye-Shik Chang, with adaptations by
+Raymond Hettinger.}
+
+\end{seealso}
%======================================================================