Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
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.ATFlashMovie-1.1/Products/ATFlashMovie/__init__.py   Products.ATFlashMovie(Download)
from Products.CMFCore.DirectoryView import registerDirectory
 
from config import SKINS_DIR, GLOBALS, PROJECTNAME, ADD_CONTENT_PERMISSION, I18N_DOMAIN
 
FlashMovieMessageFactory = MessageFactory(I18N_DOMAIN)

src/p/r/Products.PloneGlossary-1.7/Products/PloneGlossary/utils.py   Products.PloneGlossary(Download)
 
# Translations in Python
PloneGlossaryMessageFactory = MessageFactory(config.I18N_DOMAIN)
ModuleSecurityInfo('Products.PloneGlossary.utils').declarePublic(
    'PloneGlossaryMessageFactory')

src/r/a/raptus.multilanguagefields-1.1b8/raptus/multilanguagefields/__init__.py   raptus.multilanguagefields(Download)
 
from zope.i18nmessageid import MessageFactory
multilanguagefieldsMessageFactory = MessageFactory(config.I18N_DOMAIN)
 
from indexes import FieldIndex, \

src/p/r/Products.ECQuiz-1.4-rc1/Products/ECQuiz/ECQReference.py   Products.ECQuiz(Download)
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
 
from config import I18N_DOMAIN
from tools import getParent, log, registerTypeLogged
 
                           description='Select a question or a question group from another quiz.',
                           description_msgid='reference_tool_tip',
                           i18n_domain=I18N_DOMAIN,
                           label='Reference',
                           label_msgid='reference_label',

src/i/w/iw.fss-2.8.0rc5/iw/fss/utils.py   iw.fss(Download)
 
 
FSSMessageFactory = MessageFactory(config.I18N_DOMAIN)
ModuleSecurityInfo('iw.fss.utils').declarePublic('FSSMessageFactory')
 

src/p/r/Products.Ploneboard-3.5/src/Products/Ploneboard/utils.py   Products.Ploneboard(Download)
 
# Use PloneboardMessageFactory for translations in Python
PloneboardMessageFactory = MessageFactory(config.I18N_DOMAIN)
ModuleSecurityInfo('Products.Ploneboard.utils').declarePublic('PloneboardMessageFactory')
 

src/p/r/Products.Ploneboard-HEAD/src/Products/Ploneboard/utils.py   Products.Ploneboard(Download)
 
# Use PloneboardMessageFactory for translations in Python
PloneboardMessageFactory = MessageFactory(config.I18N_DOMAIN)
ModuleSecurityInfo('Products.Ploneboard.utils').declarePublic('PloneboardMessageFactory')
 

src/c/o/collective.phantasy-2.5/collective/phantasy/__init__.py   collective.phantasy(Download)
import config
from zope.i18nmessageid import MessageFactory
phantasyMessageFactory = MessageFactory(config.I18N_DOMAIN)
 
import atphantasy