Clarified that TypeErrors can be raised by any

function (not just builtins).

The issue arose in a thread on comp.lang.python.
This commit is contained in:
Raymond Hettinger 2003-08-04 08:33:50 +00:00
parent ed9bf12848
commit 4ee2ff36d0
1 changed files with 1 additions and 1 deletions

View 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}