]> granicus.if.org Git - python/commitdiff
Clarified that TypeErrors can be raised by any
authorRaymond Hettinger <python@rcn.com>
Mon, 4 Aug 2003 08:33:50 +0000 (08:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 4 Aug 2003 08:33:50 +0000 (08:33 +0000)
function (not just builtins).

The issue arose in a thread on comp.lang.python.

Doc/lib/libexcs.tex

index 1f3913654c21f720e2a1c03c3ed00035b4041d4f..0dccafc442b88257033dee8769492bb8005a401d 100644 (file)
@@ -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}