Skip to content

Commit b911392

Browse files
docstring for StateDefinitionInput
1 parent 315bda6 commit b911392

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qrules/combinatorics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
StateDefinition = Union[str, StateWithSpins]
2828
"""Particle name, optionally with a list of spin projections."""
2929
StateDefinitionInput = Union[str, tuple[str, Sequence[Scalar]]]
30+
"""Input type for `StateDefinition` permitting also `int` and `float`"""
3031
InitialFacts = MutableTransition[ParticleWithSpin, InteractionProperties]
3132
"""A `.Transition` with only initial and final state information."""
3233

0 commit comments

Comments
 (0)