Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/geostylemanager.py   collective.geo.contentlocations(Download)
from collective.geo.settings.interfaces import IGeoFeatureStyle
from collective.geo.contentlocations.events import ObjectStylesEvent
from collective.geo.settings.config import GEO_STYLE_FIELDS
 
 
 
            #Set our custom styles to be the defaults for all fields
            for field in GEO_STYLE_FIELDS:
                self.geostyles[field] = getattr(
                    self.defaultstyles, field, None
        normally using the parent method.
        """
        if name in GEO_STYLE_FIELDS:
            return self.get(name)
        else:

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/geostylemanager.py   collective.geo.contentlocations(Download)
from collective.geo.settings.interfaces import IGeoFeatureStyle
from collective.geo.contentlocations.events import ObjectStylesEvent
from collective.geo.settings.config import GEO_STYLE_FIELDS
 
 
 
            #Set our custom styles to be the defaults for all fields
            for field in GEO_STYLE_FIELDS:
                self.geostyles[field] = getattr(
                    self.defaultstyles, field, None
        normally using the parent method.
        """
        if name in GEO_STYLE_FIELDS:
            return self.get(name)
        else:

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/browser/geostylesform.py   collective.geo.contentlocations(Download)
 
from collective.geo.settings.interfaces import IGeoCustomFeatureStyle
from collective.geo.settings.config import GEO_STYLE_FIELDS
from .. import ContentLocationsMessageFactory as _
 

src/c/o/collective.geo.behaviour-1.1/src/collective/geo/behaviour/interfaces.py   collective.geo.behaviour(Download)
from collective.z3cform.mapwidget.widget import MapFieldWidget
from collective.geo.settings.interfaces import IGeoCustomFeatureStyle
from collective.geo.settings.config import GEO_STYLE_FIELDS
from collective.geo.behaviour import MessageFactory as _
 
        'coordinates',
        label=_(u'Coordinates'),
        fields=GEO_STYLE_FIELDS
    )
 

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/browser/geostylesform.py   collective.geo.contentlocations(Download)
 
from collective.geo.settings.interfaces import IGeoCustomFeatureStyle
from collective.geo.settings.config import GEO_STYLE_FIELDS
from .. import ContentLocationsMessageFactory as _
 

src/c/o/collective.geo.kml-3.2/src/collective/geo/kml/browser/kmldocument.py   collective.geo.kml(Download)
 
from collective.geo.geographer.interfaces import IGeoreferenced
from collective.geo.settings.config import GEO_STYLE_FIELDS
from collective.geo.settings.interfaces import IGeoFeatureStyle
from collective.geo.settings import DISPLAY_PROPERTIES_DATES