def __init__(self, *args):
        super(ProgressIndicator, self).__init__()

        self._indeterminate = False
        self._dataSource = None
        self._pollingInterval = 1000

        nargs = len(args)
        if nargs == 0:
            self.setPropertyDataSource( ObjectProperty(0.0, float) )
        elif nargs == 1:
            if isinstance(args[0], prop.IProperty):
                contentSource, = args
                self.setPropertyDataSource(contentSource)
            else:
                value, = args
                self.setPropertyDataSource( ObjectProperty(value, float) )
        else:
            raise ValueError, 'too many arguments'
Return a compiled re object that matches any of the given modules.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/progress_indicator.py/ProgressIndicator.__init__--crossover with--dataset/ETHPy150Open ardekantur/pyglet/tools/epydoc/epydoc/docbuilder.py/BuildOptions.compile_re