Searched refs:get_docstring (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_ast.py | 525 self.assertEqual(ast.get_docstring(node), 529 self.assertEqual(ast.get_docstring(node.body[0]), 533 self.assertEqual(ast.get_docstring(node.body[0]), 537 self.assertEqual(ast.get_docstring(node.body[0]), 'spam\nham') 540 self.assertIsNone(ast.get_docstring(ast.parse(''))) 542 self.assertIsNone(ast.get_docstring(node)) 544 self.assertIsNone(ast.get_docstring(node)) 547 self.assertIsNone(ast.get_docstring(node.body[0])) 549 self.assertIsNone(ast.get_docstring(node.body[0])) 551 self.assertIsNone(ast.get_docstring(node.body[0])) [all …]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0.rst | 7 Fix :func:`ast.get_docstring` for a node that lacks a docstring.
|
D | 3.5.0b4.rst | 246 ast.get_docstring() for 'async def' functions.
|
/external/python/cpython2/Lib/compiler/ |
D | transformer.py | 180 doc = self.get_docstring(nodelist, symbol.file_input) 268 doc = self.get_docstring(nodelist[-1]) 298 doc = self.get_docstring(nodelist[-1]) 1394 def get_docstring(self, node, n=None): member in Transformer 1400 return self.get_docstring(node[0]) 1403 return self.get_docstring(sub) 1408 return self.get_docstring(sub) 1419 return self.get_docstring(node[0]) 1421 return self.get_docstring(node[0])
|
/external/python/cpython2/Demo/parser/ |
D | example.py | 59 def get_docstring(self): member in SuiteInfoBase
|
/external/python/cpython2/Lib/ |
D | ast.py | 187 def get_docstring(node, clean=True): function
|
/external/python/cpython3/Lib/ |
D | ast.py | 198 def get_docstring(node, clean=True): function
|
/external/python/cpython2/Lib/test/ |
D | test_ast.py | 474 self.assertEqual(ast.get_docstring(node.body[0]),
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 146 .. function:: get_docstring(node, clean=True)
|
/external/python/cpython2/Doc/library/ |
D | ast.rst | 146 .. function:: get_docstring(node, clean=True)
|