Lines Matching refs:Proxy
1842 class Proxy(object):
1856 return "Proxy:%s" % self.x
1858 return "Proxy(%r)" % self.x
1861 p0 = Proxy(0)
1862 p1 = Proxy(1)
1863 p_1 = Proxy(-1)
1874 self.assertEqual(str(p0), "Proxy:0")
1875 self.assertEqual(repr(p0), "Proxy(0)")
1876 p10 = Proxy(range(10))
4249 # Testing proxy isinstance() and isclass()...
4250 class Proxy(object):
4262 pa = Proxy(a)
4269 pa = Proxy(a)
4276 pa = Proxy(a)
4283 pa = Proxy(a)
4288 # Testing super() for a proxy object...
4289 class Proxy(object):
4307 p = Proxy(obj)
4661 # Testing dict-proxy iterkeys...
4668 # Testing dict-proxy itervalues...
4673 # Testing dict-proxy iteritems...
4686 # In 2.3a1, C.__dict__ was a real dict rather than a dict proxy