Back to index

plone3  3.1.7
Classes | Variables
PlacelessTranslationService.memoize Namespace Reference

Classes

class  PTSMemo
class  NegotiatorMemo

Variables

tuple _marker = object()
tuple _m = PTSMemo()
 memoize = _m.memoize
tuple _n = NegotiatorMemo()
 memoize_second = _n.memoize
tuple __all__ = (memoize, memoize_second, )

Detailed Description

Memoize decorator for methods whose first argument is the request.

Stores values in an annotation of the request.

This is based on ViewMemo from plone.memoize.

Variable Documentation

Definition at line 63 of file memoize.py.

Definition at line 35 of file memoize.py.

Definition at line 11 of file memoize.py.

Definition at line 60 of file memoize.py.

Definition at line 36 of file memoize.py.

Definition at line 61 of file memoize.py.