Skip to content

Commit e53633b

Browse files
committed
gh-106318: Add 'See also rpartition()' on str.partition() method
1 parent 501a327 commit e53633b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,6 +2338,8 @@ expression support in the :mod:`re` module).
23382338
>>> 'Monty Python'.partition('-')
23392339
('Monty Python', '', '')
23402340

2341+
See also :meth:`rpartition`.
2342+
23412343

23422344
.. method:: str.removeprefix(prefix, /)
23432345

0 commit comments

Comments
 (0)