summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref4.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-07 10:09:34 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-07 10:09:34 (GMT)
commit46f2157279f33316d8a4dc06988104a44cf2f8ec (patch)
tree1222cc18479184c99afb267e9ac431a8c494b80c /Doc/ref/ref4.tex
parent124107b2a4e140247d5e742220ce62748f914689 (diff)
downloadcpython-46f2157279f33316d8a4dc06988104a44cf2f8ec.zip
cpython-46f2157279f33316d8a4dc06988104a44cf2f8ec.tar.gz
cpython-46f2157279f33316d8a4dc06988104a44cf2f8ec.tar.bz2
added ref to vars()
Diffstat (limited to 'Doc/ref/ref4.tex')
-rw-r--r--Doc/ref/ref4.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex
index 2f2e1c8..151b0ae 100644
--- a/Doc/ref/ref4.tex
+++ b/Doc/ref/ref4.tex
@@ -119,6 +119,14 @@ overridden with optional extra arguments.
\end{description}
+The built-in function \verb@vars()@ returns a dictionary representing
+the current local name space. The effect of modifications to this
+dictionary on the name space are undefined.%
+\footnote{The current implementation returns the dictionary actually
+used to implement the name space, {\em except} for functions, where
+the optimizer may cause the local name space to be implemented
+differently.}
+
\section{Exceptions}
Exceptions are a means of breaking out of the normal flow of control