From 4ee2ff36d0581ba6958d38a7a4ee5a1f0df9ca65 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 4 Aug 2003 08:33:50 +0000 Subject: Clarified that TypeErrors can be raised by any function (not just builtins). The issue arose in a thread on comp.lang.python. --- Doc/lib/libexcs.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 1f39136..0dccafc 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} -- cgit v0.12