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

strings/split.py is incorrect #12403

Closed
Kaaserne opened this issue Dec 2, 2024 · 1 comment · Fixed by #12423
Closed

strings/split.py is incorrect #12403

Kaaserne opened this issue Dec 2, 2024 · 1 comment · Fixed by #12423
Labels

Comments

@Kaaserne
Copy link

Kaaserne commented Dec 2, 2024

Repository commit

9316e7c

Python version (python --version)

n/a

Dependencies version (pip freeze)

n/a

Expected behavior

s = ";abbb;;c;"
split(s, ';') == s.split(';')
# ['', 'abbb', '', 'c', ''] == ['', 'abbb', '', 'c', '']

Actual behavior

s = ";abbb;;c;"
split(s, ';') == s.split(';')
# ['', 'abbb', '', 'c'] != ['', 'abbb', '', 'c', '']
@sanks011
Copy link
Contributor

@Kaaserne Please take a look at the merge requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants