Skip to content

don't pass maxsplit as positional arg#596

Merged
stefanv merged 1 commit intonumpy:mainfrom
drammock:maxsplit
Dec 17, 2024
Merged

don't pass maxsplit as positional arg#596
stefanv merged 1 commit intonumpy:mainfrom
drammock:maxsplit

Conversation

@drammock
Copy link
Contributor

Py3.13 introduces a warning when passing re.split(..., maxsplit) as positional. This PR changes it to a kwarg.

xref: python/cpython#107778

@stefanv stefanv merged commit d03b31c into numpy:main Dec 17, 2024
@stefanv
Copy link
Contributor

stefanv commented Dec 17, 2024

Thanks, Dan!

@stefanv stefanv added this to the 1.9.0 milestone Dec 17, 2024
@drammock drammock deleted the maxsplit branch December 17, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants