Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PyDict_Pop() can be used in two cases:
PyDict_Pop()
PyDict_Get*
PyDict_Del*
In both cases the use of PyDict_Pop() can make the code clearer.
The text was updated successfully, but these errors were encountered:
pythongh-116437: Use new C API PyDict_Pop() to simplify the code
b933bf8
gh-116437: Use new C API PyDict_Pop() to simplify the code (GH-116438)
72d3cc9
pythongh-116437: Use new C API PyDict_Pop() to simplify the code (pyt…
33c372d
…honGH-116438)
9e1cf2f
No branches or pull requests
PyDict_Pop()
can be used in two cases:PyDict_Get*
call is followed by thePyDict_Del*
call.PyDict_Del*
call is followed by the code that handles KeyError.In both cases the use of
PyDict_Pop()
can make the code clearer.Linked PRs
The text was updated successfully, but these errors were encountered: