fixing typo in python buffer example