Skip to content

Commit

Permalink
Explain examples of what are included in attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyhylton committed May 21, 2024
1 parent 0c9da18 commit 6494c23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2480,7 +2480,8 @@ effects on the compilation of a program:
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
might differ in whitespace or similar details.
differ in whitespace or similar details. Attributes include numbers
and column offsets.

.. versionadded:: 3.14

Expand Down

0 comments on commit 6494c23

Please sign in to comment.