Skip to content

Conversation

@beer-psi
Copy link
Contributor

When score_cutoff is None, the default score_cutoff will be the scorer function's worst score, which means that we always have a result.

@beer-psi beer-psi changed the title fix: process.extractOne should only return None if score_cutoff is specified fix(stubs): process.extractOne should only return None if score_cutoff is specified Dec 28, 2025
@maxbachmann maxbachmann merged commit cc629d8 into rapidfuzz:main Jan 1, 2026
@maxbachmann
Copy link
Member

Looks good. Thanks for the contribution.

@beer-psi beer-psi deleted the fix/stubs/process branch January 2, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants