fix python snippet typo