Commit 58897392 authored by Stefan Behnel's avatar Stefan Behnel

avoid old-style classes in flow analysis code

parent 0dbb7ca3
......@@ -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 = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment