]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport doc update:
authorRaymond Hettinger <python@rcn.com>
Wed, 6 Aug 2003 06:57:38 +0000 (06:57 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 6 Aug 2003 06:57:38 +0000 (06:57 +0000)
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

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}