Skip to content

Commit 311ea66

Browse files
committed
[Doc] Added 'See also' to split on str.join() (and vice-versa)
1 parent 125f049 commit 311ea66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/stdtypes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,6 +2202,8 @@ expression support in the :mod:`re` module).
22022202
>>> '-'.join('Python')
22032203
'P-y-t-h-o-n'
22042204

2205+
See also :meth:`split`.
2206+
22052207

22062208
.. method:: str.ljust(width, fillchar=' ', /)
22072209

@@ -2414,6 +2416,8 @@ expression support in the :mod:`re` module).
24142416
>>> " foo ".split(maxsplit=0)
24152417
['foo ']
24162418

2419+
See also :meth:`join`.
2420+
24172421

24182422
.. index::
24192423
single: universal newlines; str.splitlines method

0 commit comments

Comments
 (0)