Message193610
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>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2013-07-23 16:12:11 | James.Lu | set | recipients:
+ James.Lu, eric.smith |
2013-07-23 16:12:11 | James.Lu | link | issue18537 messages |
2013-07-23 16:12:11 | James.Lu | create | |
|