SF bug #655271: Slightly modify locals() doc

Clarify the operation of locals().
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 85ead28..d5b565f 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -624,7 +624,7 @@
 \end{funcdesc}
 
 \begin{funcdesc}{locals}{}
-  Return a dictionary representing the current local symbol table.
+  Update and return a dictionary representing the current local symbol table.
   \warning{The contents of this dictionary should not be modified;
   changes may not affect the values of local variables used by the
   interpreter.}
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index ad06250..45ea4dc 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1041,7 +1041,7 @@
 PyDoc_STRVAR(locals_doc,
 "locals() -> dictionary\n\
 \n\
-Return the dictionary containing the current scope's local variables.");
+Update and return a dictionary containing the current scope's local variables.");
 
 
 static PyObject *