Update pyops_base.h

fix call py obj method