mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
parent
61ff32f99a
commit
eb83ffe1b3
2 changed files with 3 additions and 2 deletions
|
@ -1830,7 +1830,7 @@ expression support in the :mod:`re` module).
|
||||||
>>> '1,2,3'.split(',')
|
>>> '1,2,3'.split(',')
|
||||||
['1', '2', '3']
|
['1', '2', '3']
|
||||||
>>> '1,2,3'.split(',', maxsplit=1)
|
>>> '1,2,3'.split(',', maxsplit=1)
|
||||||
['1', '2 3']
|
['1', '2,3']
|
||||||
>>> '1,2,,3,'.split(',')
|
>>> '1,2,,3,'.split(',')
|
||||||
['1', '2', '', '3', '']
|
['1', '2', '', '3', '']
|
||||||
|
|
||||||
|
@ -2695,7 +2695,7 @@ produce new objects.
|
||||||
>>> b'1,2,3'.split(b',')
|
>>> b'1,2,3'.split(b',')
|
||||||
[b'1', b'2', b'3']
|
[b'1', b'2', b'3']
|
||||||
>>> b'1,2,3'.split(b',', maxsplit=1)
|
>>> b'1,2,3'.split(b',', maxsplit=1)
|
||||||
[b'1', b'2 3']
|
[b'1', b'2,3']
|
||||||
>>> b'1,2,,3,'.split(b',')
|
>>> b'1,2,,3,'.split(b',')
|
||||||
[b'1', b'2', b'', b'3', b'']
|
[b'1', b'2', b'', b'3', b'']
|
||||||
|
|
||||||
|
|
|
@ -296,6 +296,7 @@ Drew Csillag
|
||||||
Joaquin Cuenca Abela
|
Joaquin Cuenca Abela
|
||||||
John Cugini
|
John Cugini
|
||||||
Tom Culliton
|
Tom Culliton
|
||||||
|
Raúl Cumplido
|
||||||
Antonio Cuni
|
Antonio Cuni
|
||||||
Brian Curtin
|
Brian Curtin
|
||||||
Lisandro Dalcin
|
Lisandro Dalcin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue