On Wed, Nov 9, 2011 at 5:30 PM, Kenneth Gonsalves <[email protected]> wrote:

> On Wed, 2011-11-09 at 17:23 +0530, Saager Mhatre wrote:
>

> [snip]
>
> > other than Callable that I used in a bunch of test utilities, but that
> usage wasn't really valuable.
>
> but it must be useful for *something* ;-)
>

Not really, initially I thought I might actually have to extend Callable
for the callable function to consider objects of my class... callable. :)
But, it turns out you pretty much just need a __call__ attribute in the
object for callable to return true. So it's mostly vestigial in the code.

- d
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to