Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 63374:25f6d570e7c1 2.7
#9328: string format methods return strings.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 31 Jul 2010 19:07:37 +0000 |
| parents | ed89b1aadc93 |
| children | 1499db99c4cd |
line wrap: on
line diff
--- a/Objects/stringobject.c Fri Jul 30 21:27:18 2010 +0000 +++ b/Objects/stringobject.c Sat Jul 31 19:07:37 2010 +0000 @@ -3580,7 +3580,7 @@ #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 @@ } PyDoc_STRVAR(p_format__doc__, -"S.__format__(format_spec) -> unicode\n\ +"S.__format__(format_spec) -> string\n\ \n\ ");
