]> granicus.if.org Git - python/commitdiff
inherit from object
authorBenjamin Peterson <benjamin@python.org>
Sun, 7 Jun 2009 22:33:11 +0000 (22:33 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 7 Jun 2009 22:33:11 +0000 (22:33 +0000)
Parser/asdl.py

index 7620d58462ab337089ecb106ccc492b40e438fe8..4b5676cd2b783286757558e90ab4edead5f49a39 100644 (file)
@@ -226,7 +226,7 @@ builtin_types = ("identifier", "string", "int", "bool", "object")
 # not sure if any of the methods are useful yet, but I'm adding them
 # piecemeal as they seem helpful
 
-class AST:
+class AST(object):
     pass # a marker class
 
 class Module(AST):