Commit 1cf04e0
committed
Address review: use wrapper functions instead of low-level accessors
Use _Py_IsCoreInitialized() in preconfig.c and Py_IsInitialized() in
Py_InitializeEx(), removing the unnecessary runtime local variable.
Thanks picnixz!1 parent 2e3aa7e commit 1cf04e0
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | | - | |
1509 | 1508 | | |
1510 | | - | |
| 1509 | + | |
1511 | 1510 | | |
1512 | 1511 | | |
1513 | 1512 | | |
| |||
0 commit comments