Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

> It seems that 'add=False' would be same as 'add=None' and more
> consistent with below.

The add argument is passed unchanged to canvas' bind method which is documented 
as taking either '' or '+' string:

http://docs.python.org/library/tkinter.html?highlight=canvas#bindings-and-events

I think anything that can be used in boolean context can be used there.  None 
and '' are equivalent to False and '+' is equivalent to True.  I agree that 
True/False are better options and suggest to change tkinter doc accordingly.

As far as changing the default value from None to False, if this is done in 
doc, the same should be done in the code.  I am -0 on that.

----------
nosy: +belopolsky

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7061>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to