what does 'a=b=c=[]' do

Neil Cerutti neilc at norwich.edu
Fri Dec 23 08:13:38 EST 2011


On 2011-12-23, Neil Cerutti <neilc at norwich.edu> wrote:
> Is the misfeature that Python doesn't evaluate the default
> argument expression every time you call the function? What
> would be the harm if it did?

...you know, assuming it wouldn't break existing code. ;)

-- 
Neil Cerutti



More information about the Python-list mailing list