From 1d79eb6abe47735639863a1107c55da6bf620131 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 11 Jan 2012 03:19:28 -0500 Subject: [PATCH] Closes #13754 String returned if less than *or equal to* x 3 --- Doc/library/stdtypes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 7696ecb991f..629f08b4bdb 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1049,7 +1049,7 @@ string 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)``. .. versionchanged:: 2.4 Support for the *fillchar* argument. @@ -1113,7 +1113,7 @@ string 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)``. .. versionchanged:: 2.4 Support for the *fillchar* argument. @@ -1293,7 +1293,7 @@ string 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)``. .. versionadded:: 2.2.2