Fix callook for py3.