#1513299: cleanup some map() uses where a comprehension works better.
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py
index a4d4ef0..46f8163 100755
--- a/Lib/tabnanny.py
+++ b/Lib/tabnanny.py
@@ -264,7 +264,7 @@
         return a
 
 def format_witnesses(w):
-    firsts = map(lambda tup: str(tup[0]), w)
+    firsts = (str(tup[0]) for tup in w)
     prefix = "at tab size"
     if len(w) > 1:
         prefix = prefix + "s"