summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:53:55 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:53:55 (GMT)
commit9a3777e525b389ec5881c3f80a482fb821ab3ea5 (patch)
treee83520348eea751f2b02e8effa76f3cce2c644cd /Lib/inspect.py
parent07351a044960f259c8730de3f81356fbcdbe2bbf (diff)
parent30b9d5d3af043fc2687ad11a188a34fe355e20ef (diff)
downloadcpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.zip
cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.gz
cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.bz2
#18705: merge with 3.3.
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 195c9fd..bebeba2 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -47,7 +47,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:
@@ -184,7 +184,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