summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-07-20 02:33:21 (GMT)
committerMeador Inge <meadori@gmail.com>2012-07-20 02:33:21 (GMT)
commit8fda35909556c24f958b6418286a1d8f9f9a5717 (patch)
tree54c8c98c86fb083222c1563af689d3d3a6abe805 /Lib
parentc5963d38429595ed334e129096815a6f56e81035 (diff)
downloadcpython-8fda35909556c24f958b6418286a1d8f9f9a5717.zip
cpython-8fda35909556c24f958b6418286a1d8f9f9a5717.tar.gz
cpython-8fda35909556c24f958b6418286a1d8f9f9a5717.tar.bz2
Issue #15401: Fix typo in inspect.getclosurevars docstring.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 40e4454..88f0ee2 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -1050,7 +1050,7 @@ def getclosurevars(func):
"""
Get the mapping of free variables to their current values.
- Returns a named tuple of dics mapping the current nonlocal, global
+ Returns a named tuple of dicts mapping the current nonlocal, global
and builtin references as seen by the body of the function. A final
set of unbound names that could not be resolved is also provided.
"""