On Mon, Mar 3, 2008 at 1:24 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > The Callable abc has a __contains__ but no __call__ method. > I'd fix this, but am unsure which args it should get.
Oops, bad copy/paste. :-( def __call__(self, *args, **kwds): return None I don't expect it'll have many users. :-) -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com