edit python syntax