aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/symtable.py
diff options
context:
space:
mode:
authorPamela Fox <pamela.fox@gmail.com>2022-06-11 03:54:31 -0700
committerGitHub <noreply@github.com>2022-06-11 11:54:31 +0100
commit5d8e7a124098add18a17b12270a66ca26b8cc058 (patch)
treeab7b22df93424769b96758a017be4c9f68228447 /Lib/symtable.py
parentbc3b31ea776ecb7088c8c2acd121499be8e8638b (diff)
downloadcpython-5d8e7a124098add18a17b12270a66ca26b8cc058.tar.gz
cpython-5d8e7a124098add18a17b12270a66ca26b8cc058.zip
Change list to view object (#93661)
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r--Lib/symtable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py
index 75ff0921f4c..5dd71ffc6b4 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -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()