Skip to content

Commit

Permalink
Update src/boost_histogram/tag.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp authored Feb 2, 2024
1 parent 24dc633 commit 0b6f4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boost_histogram/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(
groups: Sequence[int] | None = None,
) -> None:
if not sum(i is None for i in [factor, groups]) == 1:
raise ValueError("exactly one, a value or groups should be provided")
raise ValueError("Exactly one, a factor or groups should be provided")
self.factor = factor
self.groups = groups

Expand Down

0 comments on commit 0b6f4d3

Please sign in to comment.