[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.173,1.174
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Wed Aug 25 12:43:13 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6708/Doc/lib
Modified Files:
libfuncs.tex
Log Message:
Patch #1015021: Stop claiming that coerce can return None.
Will backport to 2.3.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- libfuncs.tex 17 Aug 2004 02:21:45 -0000 1.173
+++ libfuncs.tex 25 Aug 2004 10:42:39 -0000 1.174
@@ -1180,7 +1180,7 @@
\begin{funcdesc}{coerce}{x, y}
Return a tuple consisting of the two numeric arguments converted to
a common type, using the same rules as used by arithmetic
- operations.
+ operations. If coercion is not possible, raise \exception{TypeError}.
\end{funcdesc}
\begin{funcdesc}{intern}{string}
More information about the Python-checkins
mailing list