In article <[email protected]>,
 Roy Smith <[email protected]> wrote:

> In article <[email protected]>,
>  Chris Angelico <[email protected]> wrote:
> 
> > On Mon, Jun 16, 2014 at 11:57 AM, Roy Smith <[email protected]> wrote:
> > > In article <[email protected]>,
> > >  Chris Angelico <[email protected]> wrote:
> > >
> > >> I guess if you have a list of Numbers that are all the same type, you
> > >> can probably sum them, but you can sum non-Numbers too. The docstring
> > >> is a bit vague - sure, it's a number, but what can you do with it?
> > >
> > > You can use it to count to three!
> > 
> > Since "increment" is not a provided method, and the + and += operators
> > are not guaranteed to be defined for any definition of 1 on the other
> > side, I'm not sure that's actually true... but if you hold a hand
> > grenade and want to know whether to count to Decimal('3') or 3+0j or
> > Fraction(3, 1), I'm just going to tell you to throw the thing already!
> > 
> > ChrisA
> 
> I don't believe HandGrenade implements throw().  It does, however, 
> implement lobbeth().

On second thought, it probably implements lob().  You can, however 
derive lobbeth() by calling conjugate().
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to