[python] Python: can't assign to literal