Did I find the right examples for you? yes no

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/z/e/ZenPacks.lbn.ZopeMonitor-4.0.2/ZenPacks/lbn/ZopeMonitor/setuphandlers.py   ZenPacks.lbn.ZopeMonitor(Download)
import logging
from Acquisition import aq_base
from config import PROJECTNAME, MUNIN_THREADS, MUNIN_CACHE, MUNIN_ZODB, MUNIN_MEMORY
from lbn.zenoss.packutils import addZenPackObjects
from Products.ZenEvents.EventClass import manage_addEventClass
 
        dst = tpl.datasources.zopethreads
        map(lambda x: dst.manage_addRRDDataPoint(x), MUNIN_THREADS)
        gdt = dst.manage_addGraphDefinition('Zope Threads')
        setDataPoints(gdt, 'zopethreads', MUNIN_THREADS)