Philipp von Weitershausen wrote at 2006-11-15 15:08 +0100:
> ...
>> def myStrAdapter(something):
>>    return str(something)
>It instantiates a 'str' object. The 'str' object is the adapter for 
>'something'.

Huh? This would be a severe terminology abuse:

  An adapter should adapt something to something else *BUT*
  an "str" object does not adapt anything (it does not operate on
  another object).

>'myStrAdapter' is the adapter factory.

In my view, *this* is the adapter (adapting "something" to "str")
and not an adapter factory (as its result is a string object which
does not adapt anything)...



-- 
Dieter
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to