mirror of
https://github.com/python/cpython.git
synced 2025-08-15 14:20:55 +00:00
Change list to view object (GH-93661)
(cherry picked from commit 5d8e7a1240
)
Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
This commit is contained in:
parent
1190b63721
commit
58277de8e6
2 changed files with 3 additions and 2 deletions
|
@ -111,7 +111,7 @@ class SymbolTable:
|
|||
return bool(self._table.children)
|
||||
|
||||
def get_identifiers(self):
|
||||
"""Return a list of names of symbols in the table.
|
||||
"""Return a view object containing the names of symbols in the table.
|
||||
"""
|
||||
return self._table.symbols.keys()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue