summaryrefslogtreecommitdiff
path: root/Doc/libfuncs.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/libfuncs.tex')
-rw-r--r--Doc/libfuncs.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/libfuncs.tex b/Doc/libfuncs.tex
index 73bc1454b7..ab4b03c98b 100644
--- a/Doc/libfuncs.tex
+++ b/Doc/libfuncs.tex
@@ -355,6 +355,18 @@ its goal is to return a printable string.
\end{verbatim}\ecode
\end{funcdesc}
+\begin{funcdesc}{vars}{}
+Without arguments, return a dictionary corresponding to the current
+local symbol table. With a module, class or class instance object as
+argument (or anything else that has a \code{__dict__} attribute),
+returns a dictionary corresponding to the object's symbol table.
+The returned dictionary should not be modified: the effects on the
+corresponding symbol table are undefined.%
+\footnote{In the current implementation, local variable bindings
+cannot normally be affected this way, but variables retrieved from
+other scopes can be. This may change.}
+\end{funcdesc}
+
\begin{funcdesc}{xrange}{start\, end\, step}
This function is very similar to \code{range()}, but returns an
``xrange object'' instead of a list. This is an opaque sequence type