File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -880,6 +880,9 @@ The following exceptions are used as warning categories; see the
880880
881881 Base class for warnings about dubious syntax.
882882
883+ This warning is typically emitted when compiling Python source code, and usually won't be reported
884+ when running already compiled code.
885+
883886
884887.. exception :: RuntimeWarning
885888
Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ The following warnings category classes are currently defined:
8080| | unless triggered by code in ``__main__ ``). |
8181+----------------------------------+-----------------------------------------------+
8282| :exc: `SyntaxWarning ` | Base category for warnings about dubious |
83- | | syntactic features. |
83+ | | syntactic features (typically emitted when |
84+ | | compiling Python source code, and hence |
85+ | | may not be suppressed by runtime filters) |
8486+----------------------------------+-----------------------------------------------+
8587| :exc: `RuntimeWarning ` | Base category for warnings about dubious |
8688| | runtime features. |
You can’t perform that action at this time.
0 commit comments