SIGN IN SIGN UP

Update example of str.split, bytes.split (#121287)

In `{str,bytes}.strip(chars)`, multiple characters are not treated as a
prefix/suffix, but as individual characters. This may make users confuse
whether `split` has similar behavior.
Users may incorrectly expect that
`'Good morning, John.'.split(', .') == ['Good', 'morning', 'John']`

Adding a bit of clarification in the doc.

Co-authored-by: Yuxin Wu <ppwwyyxx@users.noreply.github.com>
Y
Yuxin Wu committed
892e3a1b708391cb43517a141f9b9712e047b8a4
Parent: 8ecb896
Committed by GitHub <noreply@github.com> on 7/5/2024, 8:08:29 PM