Searched refs:getattr_static (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 1827 self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x) 1828 self.assertEqual(inspect.getattr_static(thing, 'x', None), Thing.x) 1830 inspect.getattr_static(thing, 'y') 1832 self.assertEqual(inspect.getattr_static(thing, 'y', 3), 3) 1841 self.assertEqual(inspect.getattr_static(something, 'x'), Thing.x) 1849 self.assertEqual(inspect.getattr_static(thing, 'x'), 3) 1851 self.assertEqual(inspect.getattr_static(thing, 'x'), 2) 1859 self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x) 1869 self.assertEqual(inspect.getattr_static(thing, 'x'), desc) 1875 self.assertEqual(inspect.getattr_static(Thing, 'x'), Thing.x) [all …]
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 1303 can be inconvenient. :func:`getattr_static` has the same signature as :func:`getattr` 1306 .. function:: getattr_static(obj, attr, default=None) 1323 :func:`getattr_static` does not resolve descriptors, for example slot descriptors or 1340 result = getattr_static(some_object, 'foo')
|
/external/python/cpython3/Lib/ |
D | pydoc.py | 1051 if cl and inspect.getattr_static(cl, realname, []) is object: 1485 if cl and inspect.getattr_static(cl, realname, []) is object:
|
D | inspect.py | 1731 def getattr_static(obj, attr, default=_sentinel): function
|
/external/python/typing/typing_extensions/src/ |
D | test_typing_extensions.py | 2616 inspect.getattr_static(Methods, "clsmethod").__final__ 2620 inspect.getattr_static(Methods, "stmethod").__final__
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 1902 the :mod:`inspect` module has a new function, :func:`~inspect.getattr_static`. 1916 >>> inspect.getattr_static(a, 'f')
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 1874 Fixed :func:`inspect.getattr_static` used ``isinstance`` while it should
|
/external/python/cpython3/Misc/ |
D | HISTORY | 8904 - Issue #11829: Fix code execution holes in inspect.getattr_static for 8925 - Issue #11813: Fix inspect.getattr_static for modules. Patch by Andreas 9952 - Issue #11133: fix two cases where inspect.getattr_static can trigger code 11428 - Issue #9732: Addition of getattr_static to the inspect module.
|