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

All Samples(1395)  |  Call(1395)  |  Derive(0)  |  Import(0)
x.__init__(...) initializes x; see help(type(x)) for signature

src/d/i/digsby-HEAD/digsby/src/util/primitives/structures.py   digsby(Download)
    def __init__(self, *args):
        list.__init__(self, args)
 
    def __getattr__(self, elem):
        return self.index(elem)

src/r/e/RecordConvert-0.1.3/recordconvert/__init__.py   RecordConvert(Download)
                    raise TypeError('Item at index %s is not a Record'%counter)
                counter += 1
            list.__init__(self, items)
        else:
            if not isinstance(items, Record):
                raise TypeError('Item passed to ListOfRecords() is not a Record')
            list.__init__(self, [items])

src/k/a/ka-lite-HEAD/python-packages/werkzeug/datastructures.py   ka-lite(Download)
    def __init__(self, values=()):
        if values is None:
            list.__init__(self)
            self.provided = False
        elif isinstance(values, Accept):
            self.provided = values.provided
            list.__init__(self, values)
            values.sort()
            values.reverse()
            list.__init__(self, [(a, b) for b, a in values])
 
    def _value_matches(self, value, item):

src/a/p/appscale-HEAD/AppServer/lib/protorpc/protorpc/messages.py   appscale(Download)
    self.__field = field_instance
    self.__field.validate(sequence)
    list.__init__(self, sequence)
 
  @property

src/s/m/Smap-2.0.bcb1a7/smap/util.py   Smap(Download)
        if not init:
            init = []
        list.__init__(self, init)
 
    def __repr__(self):

src/d/i/digsby-HEAD/digsby/src/msn/MSNBuddy.py   digsby(Download)
    def __init__(self, elt):
 
        MSNSpaceElement.__init__(self, elt)
        list.__init__(self, [getattr(thismod, '%sElt'%subel['type'])(subel)
                             for subel in elt if 'type' in subel._attrs])

src/b/a/balrog-HEAD/vendor/lib/python/werkzeug/datastructures.py   balrog(Download)
    def __init__(self, values=()):
        if values is None:
            list.__init__(self)
            self.provided = False
        elif isinstance(values, Accept):
            self.provided = values.provided
            list.__init__(self, values)
            values.sort()
            values.reverse()
            list.__init__(self, [(a, b) for b, a in values])
 
    def _value_matches(self, value, item):

src/p/o/pourover-HEAD/buster/lib/werkzeug/datastructures.py   pourover(Download)
    def __init__(self, values=()):
        if values is None:
            list.__init__(self)
            self.provided = False
        elif isinstance(values, Accept):
            self.provided = values.provided
            list.__init__(self, values)
            values.sort()
            values.reverse()
            list.__init__(self, [(a, b) for b, a in values])
 
    def _value_matches(self, value, item):

src/d/i/digsby-HEAD/digsby/src/gui/skin/skinobjects.py   digsby(Download)
    def __init__(self, a = None):
        if a is None:
            list.__init__(self, [0, 0, 0, 0])
        else:
            if isinstance(a, basestring):
                list.__init__(self, (int(c) for c in a.split()))
            elif isinstance(a, int):
                list.__init__(self, [a] * 4)
                if len(a) == 2:
                    a = [a[0], a[1], a[0], a[1]] # x y -> x y x y
                list.__init__(self, (int(c) for c in a))
 
        assert len(self) == 4
    def __init__(self, seq):
        list.__init__(self, seq)
 
        if not all(callable(getattr(elem, 'Draw', None)) for elem in seq):
            raise TypeError('SkinStack must be constructed with .Draw-able elements (you gave %r)' % seq)

src/g/o/google-app-engine-HEAD/lib/protorpc/protorpc/messages.py   google-app-engine(Download)
    self.__field = field_instance
    self.__field.validate(sequence)
    list.__init__(self, sequence)
 
  @property

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next