]> granicus.if.org Git - python/commitdiff
#9328: string format methods return strings.
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 19:07:37 +0000 (19:07 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 19:07:37 +0000 (19:07 +0000)
Objects/stringobject.c

index 8d3403a0c3e66724cf1863c908ea8f849ba37eaa..347f3183381aa868d02088d958563c033b1214d2 100644 (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\
 ");