list[] = var => list.append(var) (phpstyle)

Jonas Bengtsson jonas.b at home.se
Sat Jul 14 17:10:08 EDT 2001


I think it should be neet if it would be possible to append a variable
to a list by just using
list_var[] = var_to_append
It works that way in PHP and I think it's nice.

Any comments?
/Jonas B



More information about the Python-list mailing list