James Lu added the comment: I mean, return a value, some people like this style.
james On Tue, Jul 23, 2013 at 12:10 PM, Eric V. Smith <rep...@bugs.python.org>wrote: > > Eric V. Smith added the comment: > > bool instances are immutable, so all "value.toggle()" could do is the same > as "not value". That is, return a new bool with the "toggled" value. > > ---------- > nosy: +eric.smith > resolution: -> invalid > status: open -> closed > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue18537> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18537> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com