From: Stefan Behnel Date: Sun, 30 Dec 2012 21:29:07 +0000 (+0100) Subject: avoid old-style classes in flow analysis code X-Git-Tag: 0.18b1~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58897392c2adc5186108fb96b15a747574e3e4d7;p=platform%2Fupstream%2Fpython-cython.git avoid old-style classes in flow analysis code --- diff --git a/Cython/Compiler/FlowControl.py b/Cython/Compiler/FlowControl.py index b7e18fa..119a2ee 100644 --- a/Cython/Compiler/FlowControl.py +++ b/Cython/Compiler/FlowControl.py @@ -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 = []