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

All Samples(38)  |  Call(38)  |  Derive(0)  |  Import(0)
T.__new__(S, ...) -> a new object with type S, a subtype of T

src/d/i/disco-dop-0.4/discodop/tree.py   disco-dop(Download)
	def __new__(cls, label_or_str=None, children=None):
		if label_or_str is None:
			return list.__new__(cls)  # used by copy.deepcopy
		if children is None:
			if not isinstance(label_or_str, basestring):
			raise TypeError("%s() argument 2 should be a list, not a "
					"string" % cls.__name__)
		return list.__new__(cls, label_or_str, children)
 
	def __init__(self, label_or_str, children=None):

src/d/i/disco-dop-HEAD/discodop/tree.py   disco-dop(Download)
	def __new__(cls, label_or_str=None, children=None):
		if label_or_str is None:
			return list.__new__(cls)  # used by copy.deepcopy
		if children is None:
			if not isinstance(label_or_str, basestring):
			raise TypeError("%s() argument 2 should be a list, not a "
					"string" % cls.__name__)
		return list.__new__(cls, label_or_str, children)
 
	def __init__(self, label_or_str, children=None):

src/b/r/Brill-POS-Tagger-for-Turkish-HEAD/TirilBrillTagger/lib/nltk/tree.py   Brill-POS-Tagger-for-Turkish(Download)
    def __new__(cls, node_or_str=None, children=None):
        if node_or_str is None:
            return list.__new__(cls) # used by copy.deepcopy
        if children is None:
            if not isinstance(node_or_str, basestring):
                raise TypeError("%s() argument 2 should be a list, not a "
                                "string" % cls.__name__)
            return list.__new__(cls, node_or_str, children)
 
    def __init__(self, node_or_str, children=None):

src/b/o/bolinas-HEAD/lib/tree.py   bolinas(Download)
    def __new__(cls, node_or_str=None, children=None):
        if node_or_str is None:
            return list.__new__(cls) # used by copy.deepcopy
        if children is None:
            if not isinstance(node_or_str, basestring):
                raise TypeError("%s() argument 2 should be a list, not a "
                                "string" % cls.__name__)
            return list.__new__(cls, node_or_str, children)
 
    def __init__(self, node_or_str, children=None):

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/gitdb/base.py   socorro(Download)
	def __new__(cls, type, size, stream, sha=None):
		return list.__new__(cls, (sha, type, size, stream, None))
 
	def __init__(self, type, size, stream, sha=None):
		list.__init__(self, (sha, type, size, stream, None))

src/p/o/pontoon-HEAD/vendor-local/lib/python/gitdb/base.py   pontoon(Download)
	def __new__(cls, type, size, stream, sha=None):
		return list.__new__(cls, (sha, type, size, stream, None))
 
	def __init__(self, type, size, stream, sha=None):
		list.__init__(self, (sha, type, size, stream, None))

src/p/l/playdoh-lib-HEAD/lib/python/gitdb/base.py   playdoh-lib(Download)
	def __new__(cls, type, size, stream, sha=None):
		return list.__new__(cls, (sha, type, size, stream, None))
 
	def __init__(self, type, size, stream, sha=None):
		list.__init__(self, (sha, type, size, stream, None))

src/k/r/kr-GitPython-0.3.1.1/git/base.py   kr-GitPython(Download)
	def __new__(cls, type, size, stream, sha=None):
		return list.__new__(cls, (sha, type, size, stream, None))
 
	def __init__(self, type, size, stream, sha=None):
		list.__init__(self, (sha, type, size, stream, None))

src/g/i/gitdb-HEAD/gitdb/base.py   gitdb(Download)
    def __new__(cls, type, size, stream, sha=None):
        return list.__new__(cls, (sha, type, size, stream, None))
 
    def __init__(self, type, size, stream, sha=None):
        list.__init__(self, (sha, type, size, stream, None))

src/k/r/kr-gitdb-0.5.4/gitdb/base.py   kr-gitdb(Download)
	def __new__(cls, type, size, stream, sha=None):
		return list.__new__(cls, (sha, type, size, stream, None))
 
	def __init__(self, type, size, stream, sha=None):
		list.__init__(self, (sha, type, size, stream, None))

  1 | 2 | 3 | 4  Next