mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Document ImportWarning
This commit is contained in:
parent
2f6ce536ab
commit
0c8d7b0f3f
1 changed files with 5 additions and 0 deletions
|
@ -451,6 +451,11 @@ Base class for warnings about constructs that will change semantically
|
|||
in the future.
|
||||
\end{excdesc}
|
||||
|
||||
\begin{excdesc}{ImportWarning}
|
||||
Base class for warnings about probable mistakes in module imports.
|
||||
\versionadded{2.5}
|
||||
\end{excdesc}
|
||||
|
||||
The class hierarchy for built-in exceptions is:
|
||||
|
||||
\verbatiminput{../../Lib/test/exception_hierarchy.txt}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue