terryjreedy commented Jan 11, 2012 The short doc strings do not mention the issue either way. I think it ok to leave them as they are. While the claim is how the functions *should* operate, I verified ...
Python String ljust()函数接受用于填充输入字符串的字符。然后,它替换该字符,并在输入字符串的右侧进行填充。