This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author James.Lu
Recipients James.Lu, eric.smith
Date 2013-07-23.16:12:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CANQHGB1h8PNw1_yPygoM4Fbee+Ks58RitzWhrwxXKgywS4eZyg@mail.gmail.com>
In-reply-to <1374595827.34.0.362533665291.issue18537@psf.upfronthosting.co.za>
Content
I mean, return a value, some people like this style.

james

On Tue, Jul 23, 2013 at 12:10 PM, Eric V. Smith <report@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 <report@bugs.python.org>
> <http://bugs.python.org/issue18537>
> _______________________________________
>
History
Date User Action Args
2013-07-23 16:12:11James.Lusetrecipients: + James.Lu, eric.smith
2013-07-23 16:12:11James.Lulinkissue18537 messages
2013-07-23 16:12:11James.Lucreate