Skip to content

Fix typo in ceval.c #95817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2022
Merged

Fix typo in ceval.c #95817

merged 1 commit into from
Aug 11, 2022

Conversation

zhanpon
Copy link
Contributor

@zhanpon zhanpon commented Aug 9, 2022

There are no functions named _PyEval_InitPendingCalls() nor _PyEval_FiniPendingCalls():

$ git rev-parse HEAD
78a85a34ea2583b8489eeafba5b2018fa2048a4d

$ git grep _PyEval_InitPendingCalls
Python/ceval.c:    /* Ensure that _PyEval_InitPendingCalls() was called

$ git grep _PyEval_FiniPendingCalls
Python/ceval.c:       and that _PyEval_FiniPendingCalls() is not called yet. */

I suppose the intended functions are _PyEval_InitState() and _PyEval_FiniState(). FYI, the original comment is introduced in dda5d6e of #19436.

(I belive this PR doesn't require an issue)

There are no functions named _PyEval_InitPendingCalls()
nor _PyEval_FiniPendingCalls(). (The original comment is
introduced in dda5d6e)
@zhanpon
Copy link
Contributor Author

zhanpon commented Aug 11, 2022

@vstinner The comment was introduced in your pull request #19436. Would you mind taking a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants