Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9e441892
Commit
9e441892
authored
Jan 04, 2003
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF bug #655271: Slightly modify locals() doc
Clarify the operation of locals().
parent
6f3f7843
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+1
-1
Python/bltinmodule.c
Python/bltinmodule.c
+1
-1
No files found.
Doc/lib/libfuncs.tex
View file @
9e441892
...
@@ -624,7 +624,7 @@ class C:
...
@@ -624,7 +624,7 @@ class C:
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
locals
}{}
\begin{funcdesc}
{
locals
}{}
R
eturn a dictionary representing the current local symbol table.
Update and r
eturn a dictionary representing the current local symbol table.
\warning
{
The contents of this dictionary should not be modified;
\warning
{
The contents of this dictionary should not be modified;
changes may not affect the values of local variables used by the
changes may not affect the values of local variables used by the
interpreter.
}
interpreter.
}
...
...
Python/bltinmodule.c
View file @
9e441892
...
@@ -1041,7 +1041,7 @@ builtin_locals(PyObject *self)
...
@@ -1041,7 +1041,7 @@ builtin_locals(PyObject *self)
PyDoc_STRVAR
(
locals_doc
,
PyDoc_STRVAR
(
locals_doc
,
"locals() -> dictionary
\n
\
"locals() -> dictionary
\n
\
\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
*
static
PyObject
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment