mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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}
|
||||
|
||||
\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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue