HomeSort by relevance Sort by last modified time
    Searched full:__dict__ (Results 1 - 25 of 353) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_module.py 10 # An uninitialized module has no __dict__ or __name__,
13 self.assertTrue(foo.__dict__ is None)
27 self.assertEqual(foo.__dict__, {"__name__": "foo", "__doc__": None})
34 self.assertEqual(foo.__dict__,
42 self.assertEqual(foo.__dict__,
46 # Reinitialization should not replace the __dict__
49 d = foo.__dict__
54 self.assertEqual(foo.__dict__,
56 self.assertTrue(foo.__dict__ is d)
66 self.assertEqual(f().__dict__["bar"], 4
    [all...]
test_errno.py 29 for attribute in errno.__dict__.iterkeys():
test_funcattrs.py 256 self.cannot_set_attr(self.b, '__dict__', None, TypeError)
260 self.cannot_set_attr(self.f.a.im_func, '__dict__', d, TypeError)
261 self.cannot_set_attr(self.fi.a.im_func, '__dict__', d, TypeError)
265 self.b.__dict__ = d
267 self.f.a.im_func.__dict__ = d
269 self.assertIs(d, self.b.__dict__)
272 self.assertIs(d, self.f.a.im_func.__dict__)
273 self.assertIs(d, self.f.a.__dict__)
274 self.assertIs(d, self.fi.a.im_func.__dict__)
275 self.assertIs(d, self.fi.a.__dict__)
    [all...]
test_new.py 27 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty")
30 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty")
test_copy.py 436 return (C, (), self.__dict__)
438 return cmp(self.__dict__, other.__dict__)
451 return (C, (), self.__dict__)
453 self.__dict__.update(state)
455 return cmp(self.__dict__, other.__dict__)
479 return (C, (), self.__dict__, iter(self))
482 cmp(self.__dict__, other.__dict__))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_module.py 10 # An uninitialized module has no __dict__ or __name__,
13 self.assertTrue(foo.__dict__ is None)
27 self.assertEqual(foo.__dict__, {"__name__": "foo", "__doc__": None})
34 self.assertEqual(foo.__dict__,
42 self.assertEqual(foo.__dict__,
46 # Reinitialization should not replace the __dict__
49 d = foo.__dict__
54 self.assertEqual(foo.__dict__,
56 self.assertTrue(foo.__dict__ is d)
66 self.assertEqual(f().__dict__["bar"], 4
    [all...]
test_errno.py 29 for attribute in errno.__dict__.iterkeys():
test_funcattrs.py 256 self.cannot_set_attr(self.b, '__dict__', None, TypeError)
260 self.cannot_set_attr(self.f.a.im_func, '__dict__', d, TypeError)
261 self.cannot_set_attr(self.fi.a.im_func, '__dict__', d, TypeError)
265 self.b.__dict__ = d
267 self.f.a.im_func.__dict__ = d
269 self.assertIs(d, self.b.__dict__)
272 self.assertIs(d, self.f.a.im_func.__dict__)
273 self.assertIs(d, self.f.a.__dict__)
274 self.assertIs(d, self.fi.a.im_func.__dict__)
275 self.assertIs(d, self.fi.a.__dict__)
    [all...]
test_new.py 27 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty")
30 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_pickling.py 30 self.assertEqual(src.__dict__, dst.__dict__)
46 # ctypes instances are identical when the instance __dict__
48 self.assertEqual(y.__dict__, x.__dict__)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_pickling.py 30 self.assertEqual(src.__dict__, dst.__dict__)
46 # ctypes instances are identical when the instance __dict__
48 self.assertEqual(y.__dict__, x.__dict__)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_threading_local.py 19 >>> mydata.__dict__
21 >>> mydata.__dict__.setdefault('widgets', [])
31 ... items = mydata.__dict__.items()
50 Of course, values you get from a local object, including a __dict__
65 ... self.__dict__.update(kw)
164 dict = object.__getattribute__(self, '__dict__')
165 current_thread().__dict__[key] = dict
171 d = current_thread().__dict__.get(key)
174 current_thread().__dict__[key] = d
175 object.__setattr__(self, '__dict__', d
    [all...]
copy_reg.py 80 dict = self.__dict__
107 names = cls.__dict__.get("__slotnames__")
119 if "__slots__" in c.__dict__:
120 slots = c.__dict__['__slots__']
126 if name in ("__dict__", "__weakref__"):
rlcompleter.py 50 is __main__ (technically, __main__.__dict__). Namespaces should be
63 # specific namespace or to use __main__.__dict__. This will allow us
64 # to bind to __main__.__dict__ at completion time, not now.
79 self.namespace = __main__.__dict__
109 for nspace in [__builtin__.__dict__, self.namespace]:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_threading_local.py 19 >>> mydata.__dict__
21 >>> mydata.__dict__.setdefault('widgets', [])
31 ... items = mydata.__dict__.items()
50 Of course, values you get from a local object, including a __dict__
65 ... self.__dict__.update(kw)
164 dict = object.__getattribute__(self, '__dict__')
165 current_thread().__dict__[key] = dict
171 d = current_thread().__dict__.get(key)
174 current_thread().__dict__[key] = d
175 object.__setattr__(self, '__dict__', d
    [all...]
copy_reg.py 80 dict = self.__dict__
107 names = cls.__dict__.get("__slotnames__")
119 if "__slots__" in c.__dict__:
120 slots = c.__dict__['__slots__']
126 if name in ("__dict__", "__weakref__"):
rlcompleter.py 50 is __main__ (technically, __main__.__dict__). Namespaces should be
63 # specific namespace or to use __main__.__dict__. This will allow us
64 # to bind to __main__.__dict__ at completion time, not now.
79 self.namespace = __main__.__dict__
109 for nspace in [__builtin__.__dict__, self.namespace]:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
PixMapWrapper.py 71 self.__dict__['data'] = ''
83 self.__dict__['_pm'] = Qd.RawBitMap(self._header)
91 self.__dict__['_pm'] = None
102 self.__dict__['data'] = val
120 self.__dict__[attr] = val
140 return self.__dict__[attr]
145 if not self.__dict__['_pm']:
146 self.__dict__['_pm'] = Qd.RawBitMap(self._header)
147 return self.__dict__['_pm']
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/
mocktool.py 51 self.__dict__.update(**kwargs)
56 self.__dict__[key] = value
57 return self.__dict__[key]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
__init__.py 83 self.__dict__.update(mod.__dict__)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
__init__.py 83 self.__dict__.update(mod.__dict__)
  /external/chromium_org/third_party/protobuf/python/
stubout.py 57 probably be to manipulate obj.__dict__ instead of getattr() and
63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
89 old_attribute = obj.__dict__.get(attr_name)
121 old_attribute = parent.__dict__.get(child_name)
  /external/protobuf/python/
stubout.py 57 probably be to manipulate obj.__dict__ instead of getattr() and
63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
89 old_attribute = obj.__dict__.get(attr_name)
121 old_attribute = parent.__dict__.get(child_name)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/
minidom.py 280 node.__dict__["previousSibling"] = last
281 last.__dict__["nextSibling"] = node
283 node.__dict__["parentNode"] = self
347 d = self.__dict__
368 d = self.__dict__
371 d2 = self.childNodes[0].__dict__
388 d = self.__dict__
399 d = self.__dict__
561 if 'ownerElement' in n.__dict__:
562 n.__dict__['ownerElement'] = Non
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/
minidom.py 280 node.__dict__["previousSibling"] = last
281 last.__dict__["nextSibling"] = node
283 node.__dict__["parentNode"] = self
347 d = self.__dict__
368 d = self.__dict__
371 d2 = self.childNodes[0].__dict__
388 d = self.__dict__
399 d = self.__dict__
561 if 'ownerElement' in n.__dict__:
562 n.__dict__['ownerElement'] = Non
    [all...]

Completed in 313 milliseconds

1 2 3 4 5 6 7 8 91011>>