Purpose of operator package
castironpi at gmail.com
castironpi at gmail.com
Wed May 14 13:08:49 EDT 2008
On May 14, 11:58 am, Matthew Woodcraft
<matth... at chiark.greenend.org.uk> wrote:
> I V <ivle... at gmail.com> wrote:
>
> > I hadn't heard of operator.truth before. Does it do anything different
> > from bool(x) ?
>
> Not really. It was occasionally useful before the bool type existed;
> now it's just a leftover.
>
> -M-
Now as for ints, I could see that going in to 8-by-8s and crosses.
Anyone for?
More information about the Python-list
mailing list