New submission from py.user <[email protected]>:
http://docs.python.org/py3k/library/stdtypes.html#str.ljust
str.ljust(width[, fillchar])¶
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).
str.rjust(width[, fillchar])¶
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).
"less than len(s)" -> "less than or equal to len(s)"
----------
assignee: docs@python
components: Documentation
messages: 151000
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: str.ljust and str.rjust do not exactly describes original string return
versions: Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com