We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53633b commit d714e42Copy full SHA for d714e42
1 file changed
Doc/library/stdtypes.rst
@@ -2335,6 +2335,8 @@ expression support in the :mod:`re` module).
2335
2336
>>> 'Monty Python'.partition(' ')
2337
('Monty', ' ', 'Python')
2338
+ >>> "Monty Python's Flying Circus".partition(' ')
2339
+ ('Monty', ' ', "Python's Flying Circus")
2340
>>> 'Monty Python'.partition('-')
2341
('Monty Python', '', '')
2342
0 commit comments