[Subversion] / PEAK / src / peak / binding / once.py  

Diff of /PEAK/src/peak/binding/once.py

Parent Directory | Revision Log

version 554, Thu Oct 10 23:01:32 2002 UTC version 555, Fri Oct 11 00:53:50 2002 UTC
Line 3 
Line 3 
 from meta import ActiveDescriptor  from meta import ActiveDescriptor
 from peak.api import NOT_FOUND  from peak.api import NOT_FOUND
 from peak.util.EigenData import EigenRegistry  from peak.util.EigenData import EigenRegistry
   from imports import importObject
   
 __all__ = ['Once', 'New', 'Copy', 'OnceClass']  __all__ = ['Once', 'New', 'Copy', 'OnceClass']
   
Line 30 
Line 31 
     such as when you're not deriving from a standard PEAK base class.)      such as when you're not deriving from a standard PEAK base class.)
     """      """
   
     return Once( (lambda s,d,a: obtype()), name, provides, doc)      return Once( (lambda s,d,a: importObject(obtype)()), name, provides, doc)
   
   
   


Generate output suitable for use with a patch program
Legend:
Removed from v.554  
changed lines
  Added in v.555

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help