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?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to