Home
last modified time | relevance | path

Searched refs:include_attributes (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Tools/peg_generator/pegen/
Dast_dump.py10 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/
Dtest_ast.py729 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/
Dast.py111 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/
Dast.rst2136 .. function:: dump(node, annotate_fields=True, include_attributes=False, *, indent=None)
2144 *include_attributes* can be set to true.