Home
last modified time | relevance | path

Searched refs:getgeneratorlocals (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_inspect.py1826 self.assertEqual(inspect.getgeneratorlocals(numbers),
1829 self.assertEqual(inspect.getgeneratorlocals(numbers),
1833 self.assertEqual(inspect.getgeneratorlocals(numbers),
1837 self.assertEqual(inspect.getgeneratorlocals(numbers),
1844 self.assertEqual(inspect.getgeneratorlocals(numbers), {})
1850 self.assertEqual(inspect.getgeneratorlocals(one), {})
1855 self.assertEqual(inspect.getgeneratorlocals(one), {})
1858 self.assertRaises(TypeError, inspect.getgeneratorlocals, 1)
1859 self.assertRaises(TypeError, inspect.getgeneratorlocals, lambda x: True)
1860 self.assertRaises(TypeError, inspect.getgeneratorlocals, set)
[all …]
/external/python/cpython3/Doc/library/
Dinspect.rst1270 .. function:: getgeneratorlocals(generator)
1292 This function is analogous to :func:`~inspect.getgeneratorlocals`, but
/external/python/cpython3/Lib/
Dinspect.py1637 def getgeneratorlocals(generator): function
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1468 A new :func:`~inspect.getgeneratorlocals` function has been added. This
/external/python/cpython3/Misc/
DHISTORY7233 - Issue #15153: Added inspect.getgeneratorlocals to simplify white box