Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/c/o/collective.geo.file-0.6/collective/geo/file/setuphandlers.py   collective.geo.file(Download)
PROFILE_ID = 'profile-collective.geo.file:default'
 
from config import MIMETYPES
 
GIS_MIMETYPES = [
        ob = brain.getObject()
        mimetype = ob.content_type
        if mimetype in MIMETYPES:
            if not IGisFile.providedBy(ob):
                alsoProvides(ob, IGisFile)