summaryrefslogtreecommitdiffstats
path: root/Lib/symtable.py
diff options
context:
space:
mode:
authorPamela Fox <pamela.fox@gmail.com>2022-06-11 10:54:31 (GMT)
committerGitHub <noreply@github.com>2022-06-11 10:54:31 (GMT)
commit5d8e7a124098add18a17b12270a66ca26b8cc058 (patch)
treeab7b22df93424769b96758a017be4c9f68228447 /Lib/symtable.py
parentbc3b31ea776ecb7088c8c2acd121499be8e8638b (diff)
downloadcpython-5d8e7a124098add18a17b12270a66ca26b8cc058.zip
cpython-5d8e7a124098add18a17b12270a66ca26b8cc058.tar.gz
cpython-5d8e7a124098add18a17b12270a66ca26b8cc058.tar.bz2
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 75ff092..5dd71ff 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()