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

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

If the argument is a tuple, the return value is the same object.

src/c/o/collective.geo.kml-3.2/src/collective/geo/kml/browser/kmldocument.py   collective.geo.kml(Download)
from collective.geo.settings.config import GEO_STYLE_FIELDS
from collective.geo.settings.interfaces import IGeoFeatureStyle
from collective.geo.settings import DISPLAY_PROPERTIES_DATES
from collective.geo.mapwidget.utils import get_feature_styles
        # value could be a string representing a date
        if prop in DISPLAY_PROPERTIES_DATES:
            return self.context.toLocalizedTime(value, long_format=1)