On Wed, Nov 25, 2009 at 11:17 AM, Matthew Wilkes
<matt...@matthewwilkes.co.uk> wrote:
> On 2009-11-25, at 1601, Benji York wrote:
>> I'm not sure I like the following suggestion better than the above, but
>> throwing it out there anyway:
>> Multiadapter:
>> IFoo((x,y))
> I know it's probably a spurious use case, but what if I want to adapt a
> tuple?

There could be an optional keyword argument to be explicit.

This would be a single-adapter lookup:


While this would be a multi-adapter lookup:

Benji York
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to