]> granicus.if.org Git - python/commitdiff
Closes #13754 String returned if less than *or equal to* x 3
authorTerry Jan Reedy <tjreedy@udel.edu>
Wed, 11 Jan 2012 08:19:28 +0000 (03:19 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Wed, 11 Jan 2012 08:19:28 +0000 (03:19 -0500)
Doc/library/stdtypes.rst

index 7696ecb991fc6d7917595e5b32093f255f8fe31c..629f08b4bdbfdccd6281d5e68c0da38bbf3339df 100644 (file)
@@ -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