Searched refs:include_attributes (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Tools/peg_generator/pegen/ |
D | ast_dump.py | 10 def ast_dump(node, annotate_fields=True, include_attributes=False, *, indent=None): argument 39 if include_attributes and node._attributes:
|
/third_party/python/Lib/test/ |
D | test_ast.py | 729 self.assertEqual(ast.dump(node, include_attributes=True), 763 self.assertEqual(ast.dump(node, include_attributes=True, indent=3), """\ 805 self.assertEqual(ast.dump(node, include_attributes=True), 815 self.assertEqual(ast.dump(node, include_attributes=True), 818 self.assertEqual(ast.dump(node, annotate_fields=False, include_attributes=True), 832 self.assertEqual(ast.dump(src, include_attributes=True), 851 self.assertEqual(ast.dump(src, include_attributes=True), 868 self.assertEqual(ast.dump(src, include_attributes=True), 877 self.assertEqual(ast.dump(src, include_attributes=True),
|
/third_party/python/Lib/ |
D | ast.py | 111 def dump(node, annotate_fields=True, include_attributes=False, *, indent=None): argument 151 if include_attributes and node._attributes: 1698 print(dump(tree, include_attributes=args.include_attributes, indent=args.indent))
|
/third_party/python/Doc/library/ |
D | ast.rst | 2136 .. function:: dump(node, annotate_fields=True, include_attributes=False, *, indent=None) 2144 *include_attributes* can be set to true.
|