Re: a little parsing challenge ☺
Raymond Hettinger
python at rcn.com
Sun Jul 17 15:16:13 EDT 2011
More information about the Python-list mailing list
Sun Jul 17 15:16:13 EDT 2011
- Previous message (by thread): a little parsing challenge ☺
- Next message (by thread): Re: a little parsing challenge ☺
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jul 17, 8:49 am, Thomas Boell <tbo... at domain.invalid> wrote: > But why do you enumerate with start=1? Shouldn't you start with index 0? The problem specification says that the the char number should match the emacs goto-char function which is indexed from one, not from zero. This is testable by taking the output of the program and running it through emacs to see that the cursor gets moved exactly to the location of the mismatched delimiter. Raymond
- Previous message (by thread): a little parsing challenge ☺
- Next message (by thread): Re: a little parsing challenge ☺
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list