-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
str.split bug when using sep = None and maxsplit #45581
Comments
From the docs for str.split: However, ' a b c '.split(None, 1) returns ['a', 'b c '] indicating that Note this is easily worked around by calling str.strip().split(None, I've tested this on windows version 2.5, and 2.4.4 for Debian |
I know there is another filed bug on this topic, I just need to find it. |
It was deemed a documentation bug. |
bpo-1123 was the issue I was thinking of. Setting that as a superceder |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: