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/u/n/unknown-horizons-HEAD/horizons/util/python/weaklist.py   unknown-horizons(Download)
	def __init__(self, items=None):
		if items:
			list.__init__(self, self.__iter_over_weakref(items))
		else:
			list.__init__(self)

src/d/i/disco-dop-HEAD/discodop/tree.py   disco-dop(Download)
		if children is None:
			return
		list.__init__(self, children)
		self.label = label_or_str
		self.source = self.bitset = None

src/o/b/OBITools-1.0.beta2/src/obitools/table/__init__.py   OBITools(Download)
    def __init__(self,data,size):
        if data is None:
            list.__init__(self,(None for x in xrange(size)))
        else:
            list.__init__(self,data)

src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/werkzeug/datastructures.py   microblog(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/k/u/kuma-lib-HEAD/packages/Werkzeug/werkzeug/datastructures.py   kuma-lib(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/o/r/Orange-2.7.2/Orange/OrangeWidgets/OWGUI.py   Orange(Download)
    def __init__(self, content, listBox = None):
        list.__init__(self, content)
        self.listBox = listBox
 
    def __reduce__(self):

src/p/a/pattern-HEAD/pattern/db/__init__.py   pattern(Download)
        def __init__(self, table, *args, **kwargs):
            list.__init__(self, *args, **kwargs); self.table=table
        def append(self, field):
            name, (field, index) = field[0], self.table.db._field_SQL(self.table.name, field)
            self.table.db.execute("alter table `%s` add column %s;" % (self.table.name, field))
        def __init__(self, table, data):
            list.__init__(self, data); self.table=table
        def record(self, row):
            return self.table.record(row) # See assoc().
 
        self.operator = kwargs.pop("operator", AND)
        args.extend(filter(k, v, "=") for k, v in kwargs.iteritems())
        list.__init__(self, args)
 
    def SQL(self, **kwargs):
        self.__dict__["_columns"] = DatasheetColumns(self)
        self.__dict__["_m"] = 0 # Number of columns per row, see Datasheet.insert().
        list.__init__(self)
        CSV.__init__(self, rows, fields, **kwargs)
 

src/w/i/wizlang-HEAD/venv/lib/python2.7/site-packages/werkzeug/datastructures.py   wizlang(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/a/pattern-2.6/pattern/db/__init__.py   Pattern(Download)
        def __init__(self, table, *args, **kwargs):
            list.__init__(self, *args, **kwargs); self.table=table
        def append(self, field):
            name, (field, index) = field[0], self.table.db._field_SQL(self.table.name, field)
            self.table.db.execute("alter table `%s` add column %s;" % (self.table.name, field))
        def __init__(self, table, data):
            list.__init__(self, data); self.table=table
        def record(self, row):
            return self.table.record(row) # See assoc().
 
        self.operator = kwargs.pop("operator", AND)
        args.extend(filter(k, v, "=") for k, v in kwargs.iteritems())
        list.__init__(self, args)
 
    def SQL(self, **kwargs):
        self.__dict__["_columns"] = DatasheetColumns(self)
        self.__dict__["_m"] = 0 # Number of columns per row, see Datasheet.insert().
        list.__init__(self)
        CSV.__init__(self, rows, fields, **kwargs)
 

src/a/s/astropy-0.3.1/astropy/utils/collections.py   astropy(Download)
        """
        self._types = types
        list.__init__(self, values)
 
    def _assert(self, x):

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