API: fix python3 print() error; remove print statement.