Home
last modified time | relevance | path

Searched refs:isdatadescriptor (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_inspect.py152 self.istest(inspect.isdatadescriptor, 'collections.defaultdict.default_factory')
1259 isdatadescriptor = pred_wrapper(inspect.isdatadescriptor)
1263 self.assertEqual(inspect.getmembers(A, isdatadescriptor),
1271 self.assertEqual(inspect.getmembers(B, isdatadescriptor),
1418 self.assertFalse(inspect.isdatadescriptor(NonDataDescriptor()),
1420 self.assertTrue(inspect.isdatadescriptor(DataDescriptor0()),
1422 self.assertTrue(inspect.isdatadescriptor(DataDescriptor1()),
1424 self.assertTrue(inspect.isdatadescriptor(DataDescriptor2()),
1430 self.assertTrue(inspect.isdatadescriptor(Slotted.foo),
1438 self.assertTrue(inspect.isdatadescriptor(Propertied.a_property),
[all …]
Dtest_collections.py675 self.assertTrue(inspect.isdatadescriptor(Point.x))
/third_party/python/Lib/
Dpydoc.py134 elif inspect.ismethoddescriptor(obj) or inspect.isdatadescriptor(obj):
297 if inspect.isdatadescriptor(value):
477 if inspect.isdatadescriptor(object): return self.docdata(*args)
1765 inspect.isdatadescriptor(object) or
Dinspect.py229 def isdatadescriptor(object): function
705 elif ismethoddescriptor(obj) or isdatadescriptor(obj):
/third_party/python/Lib/unittest/
Dmock.py2664 if inspect.isdatadescriptor(spec):
/third_party/python/Doc/library/
Dinspect.rst438 .. function:: isdatadescriptor(object)
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst4840 Correct ``inspect.isdatadescriptor`` to look for ``__set__`` or