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

Andreas Jung andreas at andreas-jung.com
Sat Jul 14 19:56:52 EDT 2001



"Jonas Bengtsson" <jonas.b at home.se> wrote in message
news:4e2ddb70.0107141310.3c7ca355 at posting.google.com...
> 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.
>

Extremly ugly and not very intuitive.

Andreas





More information about the Python-list mailing list