From 23ce02567db1228705451be697743927f09d8837 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 6 Aug 2003 06:57:38 +0000 Subject: 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. --- 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