On Wed, Mar 25, 2009 at 7:25 PM, Ville M. Vainio <[email protected]> wrote:
> On Wed, Mar 25, 2009 at 7:04 PM, Terry Brown <[email protected]> wrote: > >> def cmd(c, pri=n): >> c.cleo.setPri(i) > > You have i here, you probably wanted "pri". Also note that this is obsolete style (the default value special usage has been unnecessary since nested scopes were introduced). You can just do def cmd(): c.leo.setPri(n) -- Ville M. Vainio http://tinyurl.com/vainio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
