1 2 3 4 5 6 7 8
from abstract_typedef import * e = Engine() a = A() if a.write(e) != 1: raise RuntimeError