[Interface-dev] Doing multi-adaptation through interface call (again)

Itamar Shtull-Trauring itamar at itamarst.org
Sat Aug 14 14:36:04 EDT 2004


On Sat, 2004-08-14 at 08:16, Jim Fulton wrote:

> B. Allow multiple arguments to __call__, as in:
> 
>       adapter = IFoo(a, b)

Don't like this, for reasons you mentioned. Other suggestions:

D. IFoo(multiple=(a, b))

E. IFoo((a, b), multiple=True)

-- 
Itamar Shtull-Trauring    http://itamarst.org




More information about the Interface-dev mailing list