summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-20 02:06:00 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-20 02:06:00 (GMT)
commit9f9fc68b0fb279e5774d56bcee932d66d02ba369 (patch)
tree952a299913581e04125ff62b83ae8966bf60f456 /Doc
parent87069fd8fe8fae7409f313bd02faa65e9110ef66 (diff)
downloadcpython-9f9fc68b0fb279e5774d56bcee932d66d02ba369.zip
cpython-9f9fc68b0fb279e5774d56bcee932d66d02ba369.tar.gz
cpython-9f9fc68b0fb279e5774d56bcee932d66d02ba369.tar.bz2
return sets instead of tuples from some symtable methods
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/symtable.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst
index ee24823..4bb59e8 100644
--- a/Doc/library/symtable.rst
+++ b/Doc/library/symtable.rst
@@ -95,19 +95,19 @@ Examining Symbol Tables
.. method:: get_parameters()
- Return a tuple containing names of parameters to this function.
+ Return a set containing names of parameters to this function.
.. method:: get_locals()
- Return a tuple containing names of locals in this function.
+ Return a set containing names of locals in this function.
.. method:: get_globals()
- Return a tuple containing names of globals in this function.
+ Return a set containing names of globals in this function.
.. method:: get_frees()
- Return a tuple containing names of free variables in this function.
+ Return a set containing names of free variables in this function.
.. class:: Class
@@ -116,7 +116,7 @@ Examining Symbol Tables
.. method:: get_methods()
- Return a tuple containing the names of methods declared in the class.
+ Return a set containing the names of methods declared in the class.
.. class:: Symbol