On Monday, November 17, 2014 7:14:30 AM UTC-6, Davy Cottet wrote: > > Yes it is, thanks ! > > I guess it may be a basic python trick... but could you tell me the > difference between that and what I did before : > > def mymakecommand(keywords,builder): > make(builder) > > builder is not bound at definition time. It is merely a placeholder.
> and > def mymakecommand(keywords,builder=builder): > make(builder) > > builder is bound to the value it has at the time the def is defined. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
