[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/component/README.txt Updated to use new registration interface.

Jim Fulton jim at zope.com
Sun Apr 2 12:59:59 EDT 2006


Log message for revision 66318:
  Updated to use new registration interface.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/component/README.txt

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/README.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/README.txt	2006-04-02 16:59:56 UTC (rev 66317)
+++ Zope3/branches/jim-adapter/src/zope/app/component/README.txt	2006-04-02 16:59:58 UTC (rev 66318)
@@ -94,7 +94,7 @@
   ...         return "%s('%s')" %(self.__class__.__name__, self.id)  
 
   >>> gutil = MyUtility('global') 
-  >>> gsm.provideUtility(IMyUtility, gutil, 'myutil')
+  >>> gsm.registerUtility(gutil, IMyUtility, 'myutil')
 
   >>> util1 = setup.addUtility(folder1_sm, 'myutil', IMyUtility, 
   ...                          MyUtility('one'))



More information about the Zope3-Checkins mailing list