File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -866,6 +866,8 @@ The following exceptions are used as warning categories; see the
866
866
867
867
Base class for warnings about dubious syntax.
868
868
869
+ This warning is emitted when compiling Python source code to bytecode.
870
+
869
871
870
872
.. exception :: RuntimeWarning
871
873
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ The following warnings category classes are currently defined:
80
80
| | unless triggered by code in ``__main__ ``). |
81
81
+----------------------------------+-----------------------------------------------+
82
82
| :exc: `SyntaxWarning ` | Base category for warnings about dubious |
83
- | | syntactic features. |
83
+ | | syntactic features (emitted when compiling |
84
+ | | Python source code to bytecode). |
84
85
+----------------------------------+-----------------------------------------------+
85
86
| :exc: `RuntimeWarning ` | Base category for warnings about dubious |
86
87
| | runtime features. |
You can’t perform that action at this time.
0 commit comments