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
gh-93660: Change list to view object in SymbolTable docstring #93661
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Thanks for your contribution @pamelafox |
Thanks @pamelafox for the PR, and @pablogsal for merging it |
Thanks @pamelafox for the PR, and @pablogsal for merging it |
(cherry picked from commit 5d8e7a1) Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
GH-93722 is a backport of this pull request to the 3.11 branch. |
(cherry picked from commit 5d8e7a1) Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
GH-93723 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 5d8e7a1) Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
(cherry picked from commit 5d8e7a1) Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
This PR changes the docstring and RST to accurately describe the return value. I included a link to the dictionary views reference since that's what dict.keys() does. I could not find any other examples of stdlib functions/methods that return dictionary view objects (outside of dict) so I'm not sure if there's a clearer way to describe them.