Skip to content

Commit 58dfe6c

Browse files
committed
docs: fix States.from_enum() bugfix description in release notes
The bug was a silent failure (states not collected), not an error.
1 parent ffacefd commit 58dfe6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/releases/3.1.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ machine instance concurrently. This is now documented in the
176176
[#596](https://github.com/fgmacedo/python-statemachine/pull/596).
177177

178178
- `States.from_enum()` now works correctly inside compound and parallel states. Previously
179-
it raised an error when used as a nested state declaration.
179+
the states were silently not collected when used as a nested state declaration.
180180
[#607](https://github.com/fgmacedo/python-statemachine/pull/607),
181181
fixes [#606](https://github.com/fgmacedo/python-statemachine/issues/606).
182182

0 commit comments

Comments
 (0)