At first glance it looks like a replace for _button_cart with the
dictionary items listed in the curly braces
and stuffing them into a list item (cartitems)
On Feb 2, 8:47 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> > for item in cart.values():
> > v = _button_cart % {"idx": idx,
> for item in cart.values():
> v = _button_cart % {"idx": idx,
> "itemname": item.name,
> "amount": item.cost,
> "quantity": item.quantity,}
> cartitems.append(v)
>
>
> What d
Take the following piece of code:
for item in cart.values():
v = _button_cart % {"idx": idx,
"itemname": item.name,
"amount": item.cost,
"quantity": item.quantity,}
cartitems.a