[Checkins] SVN: grok/trunk/doc/design/adapters.py update another design doc

Philipp von Weitershausen philikon at philikon.de
Fri Feb 23 18:04:14 EST 2007


Log message for revision 72796:
  update another design doc
  

Changed:
  U   grok/trunk/doc/design/adapters.py

-=-
Modified: grok/trunk/doc/design/adapters.py
===================================================================
--- grok/trunk/doc/design/adapters.py	2007-02-23 23:01:14 UTC (rev 72795)
+++ grok/trunk/doc/design/adapters.py	2007-02-23 23:04:13 UTC (rev 72796)
@@ -7,8 +7,8 @@
     grok.context(Calculator)
     grok.adapts(Calculator)  # generally allowed, but not in this case, because there's already grok.context
     grok.implements(ISomething)  # if this is not specified, app breaks
+    grok.provides(ISomething)  # if adapter implements more than one interface
     grok.name('')  # this is actually the default
-    grok.register()  # this is actually the default
 
     def something(self):
         """self.context is automatically provided"""



More information about the Checkins mailing list