Skip to content

Commit

Permalink
Add parentheses for clarity (#182)
Browse files Browse the repository at this point in the history
There should be no semantic change
  • Loading branch information
JasonGross authored Oct 26, 2023
1 parent 7d1d3c1 commit ee0ade6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coq_tools/import_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def split_requires_of_statements(annotated_contents, types=('lib',), appends=('<
yield (statement, references)
continue
rkind = classify_require_kind(statement, references)
if rkind not in (REQUIRE, REQUIRE_IMPORT, REQUIRE_EXPORT) or len(references) == 1 and rkind == REQUIRE:
if rkind not in (REQUIRE, REQUIRE_IMPORT, REQUIRE_EXPORT) or (len(references) == 1 and rkind == REQUIRE):
yield (statement, references)
continue
remaining_references = []
Expand Down

0 comments on commit ee0ade6

Please sign in to comment.