#9328: string format methods return strings.

This commit is contained in:
Georg Brandl 2010-07-31 19:07:37 +00:00
parent 6e86bf72ac
commit 05f819b6e9
1 changed files with 2 additions and 2 deletions

View File

@ -3580,7 +3580,7 @@ string_getnewargs(PyStringObject *v)
#include "stringlib/string_format.h"
PyDoc_STRVAR(format__doc__,
"S.format(*args, **kwargs) -> unicode\n\
"S.format(*args, **kwargs) -> string\n\
\n\
");
@ -3614,7 +3614,7 @@ done:
}
PyDoc_STRVAR(p_format__doc__,
"S.__format__(format_spec) -> unicode\n\
"S.__format__(format_spec) -> string\n\
\n\
");