-
Notifications
You must be signed in to change notification settings - Fork 33
Commit 2422870
authored
Exceptions doc: add Py_INCREF after creating new exception types
See best practice example in Python source: https://github.com/python/cpython/blob/master/Modules/_testcapimodule.c#L6733 1 parent 55095f9 commit 2422870
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 | + | ||
187 | 188 |
| |
188 | 189 |
| |
189 | 190 |
| |
| |||
199 | 200 |
| |
200 | 201 |
| |
201 | 202 |
| |
203 | + | ||
202 | 204 |
| |
203 | 205 |
| |
204 | 206 |
| |
|
0 commit comments