avoid dict.has_key, since this might get used by a Py3K built in the
working copy
diff --git a/Parser/asdl.py b/Parser/asdl.py
index d6f5ec5..08dc848 100644
--- a/Parser/asdl.py
+++ b/Parser/asdl.py
@@ -373,7 +373,7 @@
     v.visit(mod)
 
     for t in v.types:
-        if not mod.types.has_key(t) and not t in builtin_types:
+        if t not in mod.types and not t in builtin_types:
             v.errors += 1
             uses = ", ".join(v.types[t])
             print "Undefined type %s, used in %s" % (t, uses)