diff options
author | Raymond Hettinger <python@rcn.com> | 2003-08-04 08:33:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-08-04 08:33:50 (GMT) |
commit | 4ee2ff36d0581ba6958d38a7a4ee5a1f0df9ca65 (patch) | |
tree | bed6d49cae3dba8ec0335a8fd16ef7a76f416927 | |
parent | ed9bf12848cd00443a72f7259928a6fb01219243 (diff) | |
download | cpython-4ee2ff36d0581ba6958d38a7a4ee5a1f0df9ca65.zip cpython-4ee2ff36d0581ba6958d38a7a4ee5a1f0df9ca65.tar.gz cpython-4ee2ff36d0581ba6958d38a7a4ee5a1f0df9ca65.tar.bz2 |
Clarified that TypeErrors can be raised by any
function (not just builtins).
The issue arose in a thread on comp.lang.python.
-rw-r--r-- | Doc/lib/libexcs.tex | 2 |
1 files changed, 1 insertions, 1 deletions
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} |