In article <86beb1fe-36ec-4a89-b926-3bb227c09...@g39g2000pri.googlegroups.com>,
dmtr  <dchich...@gmail.com> wrote:
>
>>>> m = lambda:expando
>>>> m.myattr = 1
>>>> print m.myattr
>1

That's a *great* technique if your goal is to confuse people.
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to