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/g/a/gae-twitter-oauth-example-HEAD/werkzeug/datastructures.py   gae-twitter-oauth-example(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/j/django-admin-report-HEAD/example/lib/sx/pisa3/pisa_paragraph2.py   django-admin-report(Download)
        self.style = style
        self.boxStack = []
        list.__init__(self)
 
    def doAlignment(self, width, alignment):
        self.newSpace = None
        self.style = style
        list.__init__(self, data)
 
    def calc(self):

src/d/j/django-admin-report-HEAD/example/lib/sx/pisa3/pisa_paragraph.py   django-admin-report(Download)
        self.style = style
        self.boxStack = []
        list.__init__(self)
 
    def doAlignment(self, width, alignment):
        self.maxHeight = 0
        self.style = style
        list.__init__(self, data)
 
    def calc(self):

src/p/y/pyjs-HEAD/examples/libtest/ListTest.py   pyjs(Download)
    def __init__(self, letter, childnodes=None):
        self.letter = letter
        if childnodes is None:
            childnodes = []
        list.__init__(self, childnodes)

src/d/j/django-admin-report-HEAD/example/lib/reportlab/platypus/doctemplate.py   django-admin-report(Download)
    def __init__(self):
        self._restart = 0
        self._idx = 0
        list.__init__(self)
 

src/r/w/rwet-examples-HEAD/web/bs4/element.py   rwet-examples(Download)
    def __init__(self, source):
        list.__init__([])
        self.source = source
 

src/g/o/golismero-2.0.3-1/thirdparty_libs/nltk/tree.py   golismero(Download)
                                "or a single string" % type(self).__name__)
            tree = type(self).parse(node_or_str)
            list.__init__(self, tree)
            self.node = tree.node
        elif isinstance(children, basestring):
            raise TypeError("%s() argument 2 should be a list, not a "
                            "string" % type(self).__name__)
        else:
            list.__init__(self, children)

src/g/o/golismero-HEAD/thirdparty_libs/nltk/tree.py   golismero(Download)
                                "or a single string" % type(self).__name__)
            tree = type(self).parse(node_or_str)
            list.__init__(self, tree)
            self.node = tree.node
        elif isinstance(children, basestring):
            raise TypeError("%s() argument 2 should be a list, not a "
                            "string" % type(self).__name__)
        else:
            list.__init__(self, children)

src/d/i/digsby-HEAD/digsby/src/plugins/msim/MSIMUtil.py   digsby(Download)
    def __init__(self, _s='', **k):
        if isinstance(_s, msdict):
            list.__init__(self)
            self[:] = _s[:]
        elif k:
            list.__init__(self, k.items())
        elif _s:
            list.__init__(self, (entry.strip().split(self.delim2, 1) for entry in _s.split(self.delim1)))
        else:
            list.__init__(self)
            else:
                parts = s
            list.__init__(self, parts)
        else:
            list.__init__(self)

src/c/l/clojure-nltk-HEAD/resources/nltk/tree.py   clojure-nltk(Download)
                                "or a single string" % type(self).__name__)
            tree = type(self).parse(node_or_str)
            list.__init__(self, tree)
            self.node = tree.node
        elif isinstance(children, basestring):
            raise TypeError("%s() argument 2 should be a list, not a "
                            "string" % type(self).__name__)
        else:
            list.__init__(self, children)

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