summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libfuncs.tex2
-rw-r--r--Python/bltinmodule.c2
2 files changed, 2 insertions, 2 deletions
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 @@ class C:
\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 @@ builtin_locals(PyObject *self)
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 *