summaryrefslogtreecommitdiff
path: root/Lib/inspect.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 15:50:46 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 15:50:46 +0300
commit88e1e502c6427f30079d18813c6a5df92112a0ae (patch)
treebe12a1a329f257e27e0b25199ee718351e6aedf5 /Lib/inspect.py
parent3d6dddc4f2698706eccf484197cbde524a326a52 (diff)
downloadcpython-88e1e502c6427f30079d18813c6a5df92112a0ae.tar.gz
#18705: fix a number of typos. Patch by F?vry Thibault.
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 7834d12ea7..c7e7ef56dd 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -48,7 +48,7 @@ from collections import namedtuple, OrderedDict
# Create constants for the compiler flags in Include/code.h
# We try to get them from dis to avoid duplication, but fall
-# back to hardcording so the dependency is optional
+# back to hardcoding so the dependency is optional
try:
from dis import COMPILER_FLAG_NAMES as _flag_names
except ImportError:
@@ -185,7 +185,7 @@ def isgenerator(object):
"""Return true if the object is a generator.
Generator objects provide these attributes:
- __iter__ defined to support interation over container
+ __iter__ defined to support iteration over container
close raises a new GeneratorExit exception inside the
generator to terminate the iteration
gi_code code object