idiomatic is not : a, b = [], []

?

Richard

On Tue, Dec 8, 2015 at 10:01 AM, Mark Billion <[email protected]> wrote:

> in python 2.6, I can run a = b = [] and get the expected result.  In W2P,
> when I do it, it throws an exception as the list does not propagate to both
> a & b.  It would make my code cleaner, but otherwise not a problem.  Just
> wanted to give a shout in case anyone gave a ....
>
> Thanks again for all of your help!
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to