Commit e79f640
authored
Simplify interp_look_up_id() (python#134257)
Don't use PyInterpreterState_GetID() but get directly the interpreter
'id' member which cannot fail.1 parent 71c42b7 commit e79f640
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1393 | 1393 | | |
1394 | 1394 | | |
1395 | 1395 | | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | | - | |
| 1396 | + | |
| 1397 | + | |
1400 | 1398 | | |
1401 | 1399 | | |
1402 | 1400 | | |
| |||
0 commit comments