From: Raymond Hettinger Date: Wed, 6 Aug 2003 06:57:38 +0000 (+0000) Subject: Backport doc update: X-Git-Tag: v2.3.1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23ce02567db1228705451be697743927f09d8837;p=thirdparty%2FPython%2Fcpython.git Backport doc update: Clarified that TypeErrors can be raised by any function (not just builtins). The issue arose in a thread on comp.lang.python. --- diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 1f3913654c21..0dccafc442b8 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -322,7 +322,7 @@ Raised when an \keyword{assert} statement fails. \end{excdesc} \begin{excdesc}{TypeError} - Raised when a built-in operation or function is applied to an object + Raised when an operation or function is applied to an object of inappropriate type. The associated value is a string giving details about the type mismatch. \end{excdesc}