Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix token matching by always returning a tuple #748

Closed
wants to merge 1 commit into from
Closed

Fix token matching by always returning a tuple #748

wants to merge 1 commit into from

Conversation

barsa-net
Copy link

When _token_matching is given start=None it does an early exit, but it only return a single None instead of a tuple.

This PR ensure that _token_matching returns a tuple of None in such case

Fixes #747

When _token_matching is given start=None it does an early exit, but it only return a single None instead of a tuple

Fixes #747
@barsa-net barsa-net closed this by deleting the head repository Jan 5, 2024
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.

Token matching generates an exception when index is None
1 participant