On Wed, Jan 7, 2009 at 3:21 PM, Terry Brown <[email protected]> wrote:
> > > Is it ok to change it by adding > > if not stack: > return None > > just before v,n = stack.pop()? No. Top-level positions can have an empty stack. The following tests are the recommend way to test p.v:: if p: if not p: Edward --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
