@@ -845,11 +845,11 @@ the variables:
845
845
+-----------------------------------------+---------------------------------+----------+
846
846
| C Name | Python Name | Notes |
847
847
+=========================================+=================================+==========+
848
- | :c:data: `PyExc_BaseException ` | :exc: `BaseException ` | \( 1) |
848
+ | :c:data: `PyExc_BaseException ` | :exc: `BaseException ` | [ 1 ]_ |
849
849
+-----------------------------------------+---------------------------------+----------+
850
- | :c:data: `PyExc_Exception ` | :exc: `Exception ` | \( 1) |
850
+ | :c:data: `PyExc_Exception ` | :exc: `Exception ` | [ 1 ]_ |
851
851
+-----------------------------------------+---------------------------------+----------+
852
- | :c:data: `PyExc_ArithmeticError ` | :exc: `ArithmeticError ` | \( 1) |
852
+ | :c:data: `PyExc_ArithmeticError ` | :exc: `ArithmeticError ` | [ 1 ]_ |
853
853
+-----------------------------------------+---------------------------------+----------+
854
854
| :c:data: `PyExc_AssertionError ` | :exc: `AssertionError ` | |
855
855
+-----------------------------------------+---------------------------------+----------+
@@ -895,7 +895,7 @@ the variables:
895
895
+-----------------------------------------+---------------------------------+----------+
896
896
| :c:data: `PyExc_KeyboardInterrupt ` | :exc: `KeyboardInterrupt ` | |
897
897
+-----------------------------------------+---------------------------------+----------+
898
- | :c:data: `PyExc_LookupError ` | :exc: `LookupError ` | \( 1) |
898
+ | :c:data: `PyExc_LookupError ` | :exc: `LookupError ` | [ 1 ]_ |
899
899
+-----------------------------------------+---------------------------------+----------+
900
900
| :c:data: `PyExc_MemoryError ` | :exc: `MemoryError ` | |
901
901
+-----------------------------------------+---------------------------------+----------+
@@ -907,7 +907,7 @@ the variables:
907
907
+-----------------------------------------+---------------------------------+----------+
908
908
| :c:data: `PyExc_NotImplementedError ` | :exc: `NotImplementedError ` | |
909
909
+-----------------------------------------+---------------------------------+----------+
910
- | :c:data: `PyExc_OSError ` | :exc: `OSError ` | \( 1) |
910
+ | :c:data: `PyExc_OSError ` | :exc: `OSError ` | [ 1 ]_ |
911
911
+-----------------------------------------+---------------------------------+----------+
912
912
| :c:data: `PyExc_OverflowError ` | :exc: `OverflowError ` | |
913
913
+-----------------------------------------+---------------------------------+----------+
@@ -917,7 +917,7 @@ the variables:
917
917
+-----------------------------------------+---------------------------------+----------+
918
918
| :c:data: `PyExc_RecursionError ` | :exc: `RecursionError ` | |
919
919
+-----------------------------------------+---------------------------------+----------+
920
- | :c:data: `PyExc_ReferenceError ` | :exc: `ReferenceError ` | \( 2) |
920
+ | :c:data: `PyExc_ReferenceError ` | :exc: `ReferenceError ` | |
921
921
+-----------------------------------------+---------------------------------+----------+
922
922
| :c:data: `PyExc_RuntimeError ` | :exc: `RuntimeError ` | |
923
923
+-----------------------------------------+---------------------------------+----------+
@@ -982,18 +982,18 @@ These are compatibility aliases to :c:data:`PyExc_OSError`:
982
982
+-------------------------------------+----------+
983
983
| :c:data: `PyExc_IOError ` | |
984
984
+-------------------------------------+----------+
985
- | :c:data: `PyExc_WindowsError ` | \( 3) |
985
+ | :c:data: `PyExc_WindowsError ` | [ 2 ]_ |
986
986
+-------------------------------------+----------+
987
987
988
988
.. versionchanged :: 3.3
989
989
These aliases used to be separate exception types.
990
990
991
991
Notes:
992
992
993
- (1)
993
+ .. [ 1 ]
994
994
This is a base class for other standard exceptions.
995
995
996
- (2)
996
+ .. [ 2 ]
997
997
Only defined on Windows; protect code that uses this by testing that the
998
998
preprocessor macro ``MS_WINDOWS `` is defined.
999
999
@@ -1023,7 +1023,7 @@ the variables:
1023
1023
+------------------------------------------+---------------------------------+----------+
1024
1024
| C Name | Python Name | Notes |
1025
1025
+==========================================+=================================+==========+
1026
- | :c:data: `PyExc_Warning ` | :exc: `Warning ` | \( 1) |
1026
+ | :c:data: `PyExc_Warning ` | :exc: `Warning ` | [ 3 ]_ |
1027
1027
+------------------------------------------+---------------------------------+----------+
1028
1028
| :c:data: `PyExc_BytesWarning ` | :exc: `BytesWarning ` | |
1029
1029
+------------------------------------------+---------------------------------+----------+
@@ -1051,5 +1051,5 @@ the variables:
1051
1051
1052
1052
Notes:
1053
1053
1054
- (1)
1054
+ .. [ 3 ]
1055
1055
This is a base class for other standard warning categories.
0 commit comments