summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2012-01-11 08:29:42 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2012-01-11 08:29:42 (GMT)
commitf4ec3c5a92faa671d15f80884c40a101495f20ae (patch)
tree15f34f6c1f3b4e3c9b9782048c3c436fa4e7de17 /Doc/library
parentf7bfff0e428facc374659ec93416422f0717c8c4 (diff)
downloadcpython-f4ec3c5a92faa671d15f80884c40a101495f20ae.zip
cpython-f4ec3c5a92faa671d15f80884c40a101495f20ae.tar.gz
cpython-f4ec3c5a92faa671d15f80884c40a101495f20ae.tar.bz2
#13754 String returned if less than *or equal to* x 3
Close *13753 'seq' now 'iterable'
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index ae0793b..9e08c65 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1189,7 +1189,7 @@ functions based on regular expressions.
Return a string which is the concatenation of the strings in the
:term:`iterable` *iterable*. A :exc:`TypeError` will be raised if there are
- any non-string values in *seq*, including :class:`bytes` objects. The
+ any non-string values in *iterable*, including :class:`bytes` objects. The
separator between elements is the string providing this method.
@@ -1197,7 +1197,7 @@ functions based on regular expressions.
Return the string left justified in a string of length *width*. Padding is done
using the specified *fillchar* (default is a space). The original string is
- returned if *width* is less than ``len(s)``.
+ returned if *width* is less than or equal to ``len(s)``.
.. method:: str.lower()
@@ -1266,7 +1266,7 @@ functions based on regular expressions.
Return the string right justified in a string of length *width*. Padding is done
using the specified *fillchar* (default is a space). The original string is
- returned if *width* is less than ``len(s)``.
+ returned if *width* is less than or equal to ``len(s)``.
.. method:: str.rpartition(sep)
@@ -1414,7 +1414,7 @@ functions based on regular expressions.
Return the numeric string left filled with zeros in a string of length
*width*. A sign prefix is handled correctly. The original string is
- returned if *width* is less than ``len(s)``.
+ returned if *width* is less than or equal to ``len(s)``.