8000 [3.12] gh-119698: fix `symtable.Class.get_methods` and document its behaviour correctly (#120151) by JelleZijlstra · Pull Request #120776 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-119698: fix symtable.Class.get_methods and document its behaviour correctly (#120151) #120776

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 3 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix doctest?
  • Loading branch information
JelleZijlstra committed Jun 20, 2024
commit 805c12e8c10a0ed3f2579dafec0f03e973d1d1dc
2 changes: 1 addition & 1 deletion Doc/library/symtable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Examining Symbol Tables
... global outer
... def outer(self): pass
... ''', 'test', 'exec')
>>> class_A = st.get_children()[2]
>>> class_A = st.get_children()[1]
>>> class_A.get_methods()
('f', 'g', 'h')

Expand Down
Loading
0