Commit fc70bfa
committed
Reword docs for exception_handler in CallbackRegistry.
- Describe the signature of `exception_handler` in prose (the parameter
name is not actually relevant, nor is the return value).
- "Consuming" an exception is not a standard idiom.
- Picklability is a detail here only relevant if you want to pickle the
CallbackRegistry, and anyways it is generally true that setting an
unpicklable attribute on an otherwise picklable object will make that
object unpicklable.
- The description of the default exception handler was incorrect.1 parent 7c813db commit fc70bfa
1 file changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
155 | 149 | | |
156 | 150 | | |
157 | 151 | | |
| |||
0 commit comments