File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,11 @@ Context object management functions:
135
135
Otherwise, the callback is invoked before the deactivation of *ctx* as the current context
136
136
and the restoration of the previous contex object for the current thread.
137
137
138
- If the callback raises an exception it will be ignored.
139
-
140
138
Any pending exception is cleared before the callback is called and restored
141
139
after the callback returns.
142
140
141
+ If the callback raises an exception it will be ignored.
142
+
143
143
.. versionadded:: 3.14
144
144
145
145
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ typedef enum {
38
38
* The callback is invoked with the event and a reference to
39
39
* the context after its entered and before its exited.
40
40
*
41
- * If the callback raises an exception it will be ignored.
42
- *
43
41
* Any pending exception is cleared before the callback is called and restored
44
42
* after the callback returns.
43
+ *
44
+ * If the callback raises an exception it will be ignored.
45
45
*/
46
46
typedef void (* PyContext_WatchCallback )(PyContextEvent , PyContext * );
47
47
You can’t perform that action at this time.
0 commit comments