type_ignores=[])
+.. function:: compare(a, b, /, *, compare_attributes=False)
+
+ Recursively compares two ASTs.
+
+ *compare_attributes* affects whether AST attributes are considered
+ in the comparison. If *compare_attributes* is ``False`` (default), then
+ attributes are ignored. Otherwise they must all be equal. This
+ option is useful to check whether the ASTs are structurally equal but
+ differ in whitespace or similar details. Attributes include line numbers
+ and column offsets.
+
+ .. versionadded:: 3.14
+
+
.. _ast-compiler-flags:
Compiler flags
.. versionadded:: 3.8
-.. function:: compare(a, b, /, *, compare_attributes=False)
-
- Recursively compares two ASTs.
-
- *compare_attributes* affects whether AST attributes are considered
- in the comparison. If *compare_attributes* is ``False`` (default), then
- attributes are ignored. Otherwise they must all be equal. This
- option is useful to check whether the ASTs are structurally equal but
- differ in whitespace or similar details. Attributes include line numbers
- and column offsets.
-
- .. versionadded:: 3.14
-
-
.. _ast-cli:
Command-line usage