提交 d8762cc4 authored 作者: Frederic's avatar Frederic

Fix crash in python 3.

上级 07a20a71
......@@ -1466,7 +1466,7 @@ class _CThunk(object):
# note that the failure code is distributed in two lists
if failure_code < 2 * n:
return [self.init_tasks, self.tasks][
failure_code % 2][failure_code / 2]
failure_code % 2][failure_code // 2]
else:
return self.tasks[failure_code - n]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论