[Python-checkins] cpython (2.7): Closes #13754 String returned if less than *or equal to* x 3

terry.reedy python-checkins at python.org
Wed Jan 11 09:33:42 CET 2012


http://hg.python.org/cpython/rev/3aed8787ce5c
changeset: 74330:3aed8787ce5c
branch: 2.7
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Wed Jan 11 03:19:28 2012 -0500
summary:
 Closes #13754 String returned if less than *or equal to* x 3
files:
 Doc/library/stdtypes.rst | 6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1049,7 +1049,7 @@
 
 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 @@
 
 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 @@
 
 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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /