#18705: fix a number of typos. Patch by Févry Thibault.

This commit is contained in:
Ezio Melotti 2013-08-17 15:50:46 +03:00
parent 67f39777fa
commit 30b9d5d3af
25 changed files with 44 additions and 44 deletions

View file

@ -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