[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/annotation/_factory.py Add this in to make life easier on apidoc.

Martijn Faassen faassen at infrae.com
Fri Mar 17 09:16:55 EST 2006


Log message for revision 66062:
  Add this in to make life easier on apidoc.
  

Changed:
  U   Zope3/trunk/src/zope/app/annotation/_factory.py

-=-
Modified: Zope3/trunk/src/zope/app/annotation/_factory.py
===================================================================
--- Zope3/trunk/src/zope/app/annotation/_factory.py	2006-03-16 19:06:20 UTC (rev 66061)
+++ Zope3/trunk/src/zope/app/annotation/_factory.py	2006-03-17 14:16:54 UTC (rev 66062)
@@ -27,4 +27,7 @@
             zope.app.container.contained.contained(
                 result, context, key)
             return result
+
+    # Convention to make adapter introspectable, used by apidoc
+    getAnnotation.factory = factory 
     return getAnnotation



More information about the Zope3-Checkins mailing list