pattern
pattern copied to clipboard
replace StopIteration with return
close https://github.com/clips/pattern/issues/243
Note this only addresses the code block in the issue.
There are other instances of StopIteration being raised in pattern that you, the maintainers might want to be addressed in this PR?