Skip to content

Commit 12185bd

Browse files
beboundncoghlan
andauthored
Update Doc/library/warnings.rst
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
1 parent 9c00bc8 commit 12185bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/warnings.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +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 (emitted when compiling |
84-
| | Python source code to bytecode). |
83+
| | syntactic features (typically emitted when |
84+
| | compiling Python source code, and hence |
85+
| | may not be suppressed by runtime filters) |
8586
+----------------------------------+-----------------------------------------------+
8687
| :exc:`RuntimeWarning` | Base category for warnings about dubious |
8788
| | runtime features. |

0 commit comments

Comments
 (0)