mirror of https://github.com/python/cpython
Document ImportWarning
This commit is contained in:
parent
2f6ce536ab
commit
0c8d7b0f3f
|
@ -451,6 +451,11 @@ Base class for warnings about constructs that will change semantically
|
||||||
in the future.
|
in the future.
|
||||||
\end{excdesc}
|
\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:
|
The class hierarchy for built-in exceptions is:
|
||||||
|
|
||||||
\verbatiminput{../../Lib/test/exception_hierarchy.txt}
|
\verbatiminput{../../Lib/test/exception_hierarchy.txt}
|
||||||
|
|
Loading…
Reference in New Issue