mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue