Skip to content

Commit

Permalink
Improve description of compare_attributes arg
Browse files Browse the repository at this point in the history
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
jeremyhylton and iritkatriel committed May 21, 2024
1 parent 5b01405 commit 69be6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def compare(
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 look for asts that are structurally equal but
option is useful to check whether the ASTs are structurally equal but
might differ in whitespace or similar details.
"""

Expand Down

0 comments on commit 69be6d2

Please sign in to comment.