problem with closure arguments and *args in mock object

John J. Lee jjl at pobox.com
Sat Nov 8 07:28:44 EST 2003


Peter Otten <__peter__ at web.de> writes:

> John J. Lee wrote:
> 
> > I forgot to say, I'm trying to do this with 1.5.2.  Is this possible?
> > Any ideas for best alternative if not?
> 
> The following will most probably not work as I have zero experience with
> Python < 2.x.
> 
> class Method:
[...]

It does!  I had thought of this, but for some reason assumed it
wouldn't work.

Thanks


John




More information about the Python-list mailing list