I am new to python. I have a few questions coming from an armature!

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Wed Aug 17 19:13:14 EDT 2016


On Thursday, August 18, 2016 at 8:25:37 AM UTC+12, Terry Reedy wrote:
>
>          for section_name, line_number in text.parser.toc:
>              def goto(line=line_number):
>                  text.yview(line)
>              drop.add_command(label=section_name, command=goto)

You don’t think of that as having its own bit of subtle nastiness?



More information about the Python-list mailing list