Skip to content

Commit 77ee6ca

Browse files
committed
Init
1 parent 2f5c3b0 commit 77ee6ca

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Doc/library/exceptions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,8 @@ The following exceptions are used as warning categories; see the
866866

867867
Base class for warnings about dubious syntax.
868868

869+
This warning is emitted when compiling Python source code to bytecode.
870+
869871

870872
.. exception:: RuntimeWarning
871873

Doc/library/warnings.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ 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 (emitted when compiling |
84+
| | Python source code to bytecode). |
8485
+----------------------------------+-----------------------------------------------+
8586
| :exc:`RuntimeWarning` | Base category for warnings about dubious |
8687
| | runtime features. |

0 commit comments

Comments
 (0)