fix python syntax typo