can't assign to literal

Steven Clark steven.p.clark at gmail.com
Tue Jun 10 23:57:45 CEST 2008


>
> for 1 in oids, vals head_oids:
> SyntaxError: can't assign to literal
> --

1 is a literal, you can't assign it to something. Are you trying to
use it as a variable name?



More information about the Python-list mailing list