Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/p/r/Products.slideshowfolder-4.1b1/Products/slideshowfolder/slideshowsetting.py   Products.slideshowfolder(Download)
#Project
from interfaces import ISlideShowSettings
from config import PROJ
 
 
    def __init__(self, context):
        self.context = context
        annotations = IAnnotations(context)
        self._metadata = annotations.get(PROJ, None)
        if self._metadata is None:
            self._metadata = PersistentDict()
            annotations[PROJ] = self._metadata