summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-07-27 01:21:54 (GMT)
committerGreg Ward <gward@python.net>2000-07-27 01:21:54 (GMT)
commit53c1bc3f9bf4d83f01e5dc8c228379ae525a2cbb (patch)
treecb570dd8b3a01b31023e087003a2532160c3647d /Lib/distutils
parent8353f623d6c85e6348ba0544a5d84b60bbc2d35b (diff)
downloadcpython-53c1bc3f9bf4d83f01e5dc8c228379ae525a2cbb.zip
cpython-53c1bc3f9bf4d83f01e5dc8c228379ae525a2cbb.tar.gz
cpython-53c1bc3f9bf4d83f01e5dc8c228379ae525a2cbb.tar.bz2
Typo fix from David Ascher.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 37d19c7..2ede447 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -292,7 +292,7 @@ class build_ext (Command):
ext.undef_macros = []
for macro in macros:
if not (type(macro) is TupleType and
- 1 <= len(macros) <= 2):
+ 1 <= len(macro) <= 2):
raise DistutilsSetupError, \
("'macros' element of build info dict "
"must be 1- or 2-tuple")