Merge with 3.2
#13754 String returned if less than *or equal to* x 3 *13753 'seq' now 'iterable'
This commit is contained in:
commit
610e8140de
|
@ -1193,7 +1193,7 @@ functions based on regular expressions.
|
||||||
|
|
||||||
Return a string which is the concatenation of the strings in the
|
Return a string which is the concatenation of the strings in the
|
||||||
:term:`iterable` *iterable*. A :exc:`TypeError` will be raised if there are
|
: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.
|
separator between elements is the string providing this method.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1201,7 +1201,7 @@ functions based on regular expressions.
|
||||||
|
|
||||||
Return the string left justified in a string of length *width*. Padding is done
|
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
|
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()
|
.. method:: str.lower()
|
||||||
|
@ -1270,7 +1270,7 @@ functions based on regular expressions.
|
||||||
|
|
||||||
Return the string right justified in a string of length *width*. Padding is done
|
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
|
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)
|
.. method:: str.rpartition(sep)
|
||||||
|
@ -1418,7 +1418,7 @@ functions based on regular expressions.
|
||||||
|
|
||||||
Return the numeric string left filled with zeros in a string of length
|
Return the numeric string left filled with zeros in a string of length
|
||||||
*width*. A sign prefix is handled correctly. The original string is
|
*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)``.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue