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

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)
x.__getattribute__('name') <==> x.name

src/g/i/GitPython-0.3.2.RC1/git/util.py   GitPython(Download)
				return item
		# END for each item
		return list.__getattribute__(self, attr)
 
	def __getitem__(self, index):

src/g/i/GitPython-HEAD/git/util.py   GitPython(Download)
                return item
        # END for each item
        return list.__getattribute__(self, attr)
 
    def __getitem__(self, index):

src/s/t/sterch.scrapingtools-0.6/src/sterch/scrapingtools/synclist.py   sterch.scrapingtools(Download)
    def __getattribute__(self,name):
        if name not in ['__len__', 'append', '__contains__', 
                        'sort', 'count', 'extend', 'index',
                        'insert', 'pop', 'reverse']:
            return list.__getattribute__(self, name)
        self._lock.acquire()
        try:
            rval = list.__getattribute__(self, name)

src/k/r/kr-GitPython-0.3.1.1/git/util.py   kr-GitPython(Download)
				return item
		# END for each item
		return list.__getattribute__(self, attr)
 
	def __getitem__(self, index):

src/t/h/thbattle-HEAD/src/utils/misc.py   thbattle(Download)
    def __getattribute__(self, name):
        try:
            list_attr = list.__getattribute__(self, name)
            return list_attr
        except AttributeError:

src/p/y/pyconomic-0.1.2/pyconomic/base.py   pyconomic(Download)
    def __getattribute__(self, name):
        if name in ['fetch', 'service', 'handle', 'model', 'method', 'fetched']:
            return list.__getattribute__(self, name)
        if self.fetched:
            self.fetch()
        return list.__getattribute__(self, name)

src/o/b/objectpath-0.2/objectpath/core/interpreter.py   objectpath(Download)
					if isinstance(fst,object):
						try:
							return fst.__getattribute__(snd)
						except: pass
					if D: self.end(". returning '%s'",fst)

src/o/b/ObjectPath-HEAD/ObjectPathPy/core/interpreter.py   ObjectPath(Download)
					if isinstance(fst,object):
						try:
							return fst.__getattribute__(snd)
						except: pass
					if D: self.end(". returning '%s'",fst)

src/d/i/dimagi-utils-1.1.0/dimagi/utils/queryable_set.py   dimagi-utils(Download)
            fs = []
            for i in fn:
                fq = self.__getattribute__("_" + i.replace('not_',''))
                if i.startswith('not_'):
                    fr = lambda x: not fq(x)
                return filter(lambda x: not self.__getattribute__("_" + item.replace('not_', ''))(x), self)
            else:
                return filter(self.__getattribute__("_" + item), self)
        else:
            raise AttributeError

src/c/p/cpython-HEAD/Modules/_decimal/tests/deccheck.py   cpython(Download)
    def __getattribute__(self, name):
        if name != 'append':
            raise AttributeError("unsupported operation")
        return list.__getattribute__(self, name)
    def unsupported(self, *_):

  1 | 2  Next