Re: Verbose and flexible args and kwargs syntax
- From: Arnaud Delobelle <arnodel@xxxxxxxxx>
- Date: Mon, 12 Dec 2011 16:15:05 +0000
On 12 December 2011 15:36, Terry Reedy <tjreedy@xxxxxxxx> wrote:
Huh? Funny you should say 'everyday'. It is now 10 o'clock. In 20 hours, it
will be (10+20) % 12 == 6 o'clock. It is now day 1 of the week. In 9 days it
will be day (1+9) % 7 == 3 of the week. Mental calculations are helped by
the fact that (a+b) % c == a%c + b%c
You mean (a + b) % c == (a%c + b%c) % c
:)
--
Arnaud
.
- References:
- Verbose and flexible args and kwargs syntax
- From: Eelco Hoogendoorn
- Re: Verbose and flexible args and kwargs syntax
- From: Steven D'Aprano
- Re: Verbose and flexible args and kwargs syntax
- From: Gregory Ewing
- Verbose and flexible args and kwargs syntax
- Prev by Date: Wing IDE 4.1.2 released
- Next by Date: Re: Verbose and flexible args and kwargs syntax
- Previous by thread: Re: Verbose and flexible args and kwargs syntax
- Next by thread: Re: Verbose and flexible args and kwargs syntax
- Index(es):