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:
parent
ed9bf12848
commit
4ee2ff36d0
|
@ -322,7 +322,7 @@ Raised when an \keyword{assert} statement fails.
|
||||||
\end{excdesc}
|
\end{excdesc}
|
||||||
|
|
||||||
\begin{excdesc}{TypeError}
|
\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
|
of inappropriate type. The associated value is a string giving
|
||||||
details about the type mismatch.
|
details about the type mismatch.
|
||||||
\end{excdesc}
|
\end{excdesc}
|
||||||
|
|
Loading…
Reference in New Issue