Commit 7b7f6688 authored by Guido van Rossum's avatar Guido van Rossum

Added a stronger warning about changing the dictionary returned by

locals().
parent eda960a1
......@@ -334,8 +334,9 @@ returns \code{['a', 'b', 'c']} and \code{list( (1, 2, 3) )} returns
\begin{funcdesc}{locals}{}
Return a dictionary representing the current local symbol table.
Inside a function, modifying this dictionary does not always have the
desired effect.
\strong{Warning:} the contents of this dictionary should not be
modified; changes may not affect the values of local variables used by
the interpreter.
\end{funcdesc}
\begin{funcdesc}{long}{x}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment