Sorry, I was on vacation.
Without a traceback I'm not sure what you really mean.
Anyway Stefan already answered.
You should also read
http://blogs.nuxeo.com/sections/blogs/florent_guillaume/
2005_11_10_object-event-dispatching
to get an understanding of how event dispatching works.
Florent
On 8 Mar 2006, at 21:18, Egon Frerich wrote:
Hello,
I want to have doctests which document the correctness of an
handler for
an IObjectModifiedEvent. But the 'notify' triggers a TypeError,
because
the handler 'takes exactly 2 arguments (1 given)'. Two arguments are
correct.
I have searched the tests in zope.app.event. The Doctests do notify
but
I don't see any handler for IObjectModifiedEvent (and a proof the
handler does it right).
Egon
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com