mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
objstr: Make .split() support bytes.
This commit is contained in:
@@ -26,3 +26,5 @@ print("abcabc".split("bc"))
|
||||
print("abcabc".split("bc", 0))
|
||||
print("abcabc".split("bc", 1))
|
||||
print("abcabc".split("bc", 2))
|
||||
|
||||
print(b"abcabc".split(b"bc", 2))
|
||||
|
||||
Reference in New Issue
Block a user