summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorВиталий Дмитриев <yantik_info@cap.ru>2022-09-20 19:54:33 (GMT)
committerGitHub <noreply@github.com>2022-09-20 19:54:33 (GMT)
commita3e2f054d285d72bca97667390bbc219d02ab364 (patch)
tree51de6c53070cf3e81d924a368b7657284db8848f /Python/pymath.c
parentdfc73b57247aac575c83055d960c03bdc28b51fd (diff)
downloadcpython-a3e2f054d285d72bca97667390bbc219d02ab364.zip
cpython-a3e2f054d285d72bca97667390bbc219d02ab364.tar.gz
cpython-a3e2f054d285d72bca97667390bbc219d02ab364.tar.bz2
gh-96947: Fix comment on `pyruntimestate->pyinterpreters` struct for `next_id` (GH-96949)
`_next_interp_id` appeared on [this commit](https://github.com/python/cpython/commit/e377416c10eb0bf055b0728cdcdc4488fdfd3b5f#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141R68) renamed to `next_id` ([by this commit](https://github.com/python/cpython/commit/2ebc5ce42a8a9e047e790aefbf9a94811569b2b6#diff-bccfc01bd96b58c022dde77486b8a896cbb31d7581bd4a4156b32c3654afe468R59)). Also, now, `next_id` gets initialized in` _PyInterpreterState_Enable()` https://github.com/python/cpython/blob/12c5f328d2479ac3432df5e266adc4e59adeabfe/Python/pystate.c#L241-L244 because `_PyInterpreterState_Init()` function doesn't exist at all.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions