提交 d42028a3 authored 作者: Frederic Bastien's avatar Frederic Bastien

backport to python2.4

上级 845bd561
...@@ -91,7 +91,7 @@ class BadCLinkerOutput(DebugModeError): ...@@ -91,7 +91,7 @@ class BadCLinkerOutput(DebugModeError):
def __init__(self, r, val_py, val_c): def __init__(self, r, val_py, val_c):
"""Initialize members""" """Initialize members"""
super(BadCLinkerOutput, self).__init__() DebugModeError.__init__(self)#to be compatible with python2.4
self.r = r self.r = r
self.val_py = val_py self.val_py = val_py
self.val_c = val_c self.val_c = val_c
...@@ -190,7 +190,7 @@ class BadOptimization(DebugModeError): ...@@ -190,7 +190,7 @@ class BadOptimization(DebugModeError):
def __init__(self, old_r, new_r, old_r_val, new_r_val, reason, old_graph, new_graph): def __init__(self, old_r, new_r, old_r_val, new_r_val, reason, old_graph, new_graph):
"""Initialize members""" """Initialize members"""
super(BadOptimization, self).__init__() DebugModeError.__init__(self)#to be compatible with python2.4
self.old_r = old_r self.old_r = old_r
self.new_r = new_r self.new_r = new_r
self.old_r_val = old_r_val self.old_r_val = old_r_val
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论