[Python-checkins] python/dist/src/Doc/whatsnew whatsnew25.tex, 1.8,
1.9
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Sun Mar 20 22:42:06 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17448
Modified Files:
whatsnew25.tex
Log Message:
Write part of PEP 309 section
Index: whatsnew25.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew25.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- whatsnew25.tex 20 Mar 2005 20:06:49 -0000 1.8
+++ whatsnew25.tex 20 Mar 2005 21:42:04 -0000 1.9
@@ -28,7 +28,28 @@
%======================================================================
\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}
%======================================================================
More information about the Python-checkins
mailing list