Logo Search packages:      
Sourcecode: zope-loginmanager version File versions

def ZPatterns::Rack::Rack::getItem (   self,
  key 
)

Get an item from the rack by key

Definition at line 52 of file Rack.py.

00052                           :
        """Get an item from the rack by key"""
        
        # Borrow canonicals map for per-transaction item cache
        item = self._fromCache(key,_marker)
        
        if item is _marker:
            item = self.retrieveItem(key)
            self._toCache(key,item) # XXX Should we cache non-existence?
            
        return item


    def newItem(self, key=None):


Generated by  Doxygen 1.6.0   Back to index