[Python-Dev] _abcoll Callable bug
Guido van Rossum
guido at python.org
Mon Mar 3 23:46:25 CET 2008
On Mon, Mar 3, 2008 at 1:24 PM, Georg Brandl <g.brandl at gmx.net> 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/)
More information about the Python-Dev
mailing list