[Python-checkins]
python/dist/src/Doc/whatsnew whatsnew24.tex, 1.106, 1.107
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Fri Oct 8 20:29:32 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6599
Modified Files:
whatsnew24.tex
Log Message:
[Bug #1031897] Fix order of decorator application
Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- whatsnew24.tex 7 Oct 2004 12:00:33 -0000 1.106
+++ whatsnew24.tex 8 Oct 2004 18:29:29 -0000 1.107
@@ -302,7 +302,7 @@
\begin{verbatim}
def f(): ...
-f = C(B(A(f)))
+f = A(B(C(f)))
\end{verbatim}
Decorators must come on the line before a function definition, and
@@ -364,7 +364,7 @@
\begin{verbatim}
def f(): ...
_deco = C(args)
-f = _deco(B(A(f)))
+f = A(B(_deco(f)))
\end{verbatim}
Getting this right can be slightly brain-bending, but it's not too
@@ -1455,6 +1455,6 @@
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
-article: Hye-Shik Chang, Michael Dyck, Raymond Hettinger.
+article: Hye-Shik Chang, Michael Dyck, Raymond Hettinger, Hamish Lawson.
\end{document}
More information about the Python-checkins
mailing list