Message400407
Apologies, my original post was unclear.
The help(app.quit) which I posted is what we should get when the method
isn't clobbered.
What Serhiy has posted is what you get after running the example as-is. It
shows that after running the example self.quit refers to a button object
instead of the quit method.
On Fri, 27 Aug 2021 at 7:38 pm, Serhiy Storchaka <report@bugs.python.org>
wrote:
>
> Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:
>
> I get different result:
>
> >>> app.quit
> <tkinter.Button object .!application.!button2>
> >>> help(app.quit)
> Help on Button in module tkinter object:
>
> class Button(Widget)
> | Button(master=None, cnf={}, **kw)
> |
> | Button widget.
> |
> ...
>
> ----------
> nosy: +serhiy.storchaka
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue45029>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2021-08-27 10:09:19 | lyndon.darcy | set | recipients:
+ lyndon.darcy, docs@python, serhiy.storchaka |
2021-08-27 10:09:19 | lyndon.darcy | link | issue45029 messages |
2021-08-27 10:09:19 | lyndon.darcy | create | |
|