avoid old-style classes in flow analysis code
authorStefan Behnel <stefan_ml@behnel.de>
Sun, 30 Dec 2012 21:29:07 +0000 (22:29 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Sun, 30 Dec 2012 21:29:07 +0000 (22:29 +0100)
Cython/Compiler/FlowControl.py

index b7e18fa..119a2ee 100644 (file)
@@ -91,7 +91,7 @@ class ExitBlock(ControlBlock):
         return False
 
 
-class AssignmentList:
+class AssignmentList(object):
     def __init__(self):
         self.stats = []
 
@@ -458,7 +458,7 @@ class GV(object):
         fp.write(' }\n')
 
 
-class MessageCollection:
+class MessageCollection(object):
     """Collect error/warnings messages first then sort"""
     def __init__(self):
         self.messages = []