Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-22702: Improves documentation for str.join method#156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletionsDoc/library/stdtypes.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1719,10 +1719,10 @@ expression support in the :mod:`re` module).

.. method:: str.join(iterable)

Return a string which is the concatenation of the strings inthe
:term:`iterable` *iterable*.A :exc:`TypeError` will be raised if there are
any non-string values in*iterable*, including :class:`bytes` objects. The
separator betweenelements is the string providing this method.
Return a string which is the concatenation of the strings in*iterable*.
A :exc:`TypeError` will be raised if there are any non-string values in
*iterable*, including :class:`bytes` objects. The separator between
elements is the string providing this method.


.. method:: str.ljust(width[, fillchar])
Expand DownExpand Up@@ -2547,11 +2547,11 @@ arbitrary binary data.
bytearray.join(iterable)

Return a bytes or bytearray object which is the concatenation of the
binary data sequences inthe :term:`iterable` *iterable*. A
:exc:`TypeError` will be raisedif there are any values in *iterable*
that are not :term:`bytes-likeobjects <bytes-like object>`, including
:class:`str` objects. Theseparator between elements is the contents
of the bytes orbytearray object providing this method.
binary data sequences in*iterable*. A :exc:`TypeError` will be raised
if there are any values in *iterable* that are not :term:`bytes-like
objects <bytes-like object>`, including :class:`str` objects. The
separator between elements is the contents of the bytes or
bytearray object providing this method.


.. staticmethod:: bytes.maketrans(from, to)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp