From 7b7f6688d276c73a779ee9df7db41afe418987ca Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 18 Jun 1998 16:45:34 +0000 Subject: Added a stronger warning about changing the dictionary returned by locals(). --- Doc/lib/libfuncs.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 451c1a8..3104763 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -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} -- cgit v0.12