Skip to content

Commit

Permalink
Grammar suggestion
Browse files Browse the repository at this point in the history
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano committed Mar 4, 2022
1 parent f2d3f4d commit 0b3f073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/engine/internals/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ def create(
if all_same_generator_paths:
output = example_generator.output.__name__
return cls(
f"Multiple of the registered code generators can generate {output} from {input}. "
f"Multiple registered code generators can generate {output} from {input}. "
"It is ambiguous which implementation to use.\n\nPossible implementations:\n\n"
f"{bullet_list(sorted(generator.__name__ for generator in generators))}"
)
Expand All @@ -855,7 +855,7 @@ def create(
for generator in sorted(generators, key=lambda generator: generator.output.__name__)
]
return cls(
f"Multiple of the registered code generators can generate one of "
f"Multiple registered code generators can generate one of "
f"{possible_output_types} from {input}. It is ambiguous which implementation to "
f"use. This can happen when the call site requests too many different output types "
f"from the same original protocol sources.\n\nPossible implementations with their "
Expand Down

0 comments on commit 0b3f073

Please sign in to comment.