Skip to content

Fix re.split deprecation warning #157

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

mrgalopes
Copy link
Contributor

From https://docs.python.org/3/library/re.html#re.split:

re.split(pattern, string, maxsplit=0, flags=0)
Deprecated since version 3.13: Passing maxsplit and flags as positional arguments is deprecated. In future Python versions they will be keyword-only parameters.

Fixes #150. Let me know if it needs anything else.

@parnpresso
Copy link

@aleksihakli Would be amazing if you have a spare time to push it forward

@aleksihakli aleksihakli merged commit 08fdd3a into jazzband:master Apr 25, 2025
1 of 24 checks passed
@parnpresso
Copy link

@aleksihakli Appreciate your Friday night push :)

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.

DeprecationWarning: 'maxsplit' is passed as positional argument
3 participants