]> granicus.if.org Git - python/commitdiff
Typo fix from David Ascher.
authorGreg Ward <gward@python.net>
Thu, 27 Jul 2000 01:21:54 +0000 (01:21 +0000)
committerGreg Ward <gward@python.net>
Thu, 27 Jul 2000 01:21:54 +0000 (01:21 +0000)
Lib/distutils/command/build_ext.py

index 37d19c7db4c3f0abd4f9fbd11f6cba497454285c..2ede447fede99641bc905c59142bb4da96839651 100644 (file)
@@ -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")