[Python-Dev] _abcoll Callable bug

2008-03-03 Thread Georg Brandl
The Callable abc has a __contains__ but no __call__ method. I'd fix this, but am unsure which args it should get. Georg ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] _abcoll Callable bug

2008-03-03 Thread Guido van Rossum
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