diff Doc/lib/libfuncs.tex @ 8521:064f85ee9be5 legacy-trunk

Added a stronger warning about changing the dictionary returned by locals().
author Guido van Rossum <guido@python.org>
date Thu, 18 Jun 1998 16:45:34 +0000
parents 81e29477d2a4
children 4829b8faf2b4
line wrap: on
line diff
--- a/Doc/lib/libfuncs.tex	Thu Jun 18 14:24:28 1998 +0000
+++ b/Doc/lib/libfuncs.tex	Thu Jun 18 16:45:34 1998 +0000
@@ -334,8 +334,9 @@
 
 \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}