[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Implement the format disk question as a callback.



>> And finally, your initcb parameter looks like this:
>>
>>    initcb=lambda intf,name: questionInitializeDisk(intf, name)
>>   
>
> this is nice technique, I'll remember it, didn't you mean:
>
> initcb=lambda: questionInitializeDisk(intf, name)

Eh, I suppose that'll work.  I guess it was just my aversion to free
variables or something.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]