[Python-checkins] r83354 - python/branches/release27-maint/Objects/stringobject.c
georg.brandl
python-checkins at python.org
Sat Jul 31 21:07:37 CEST 2010
Author: georg.brandl
Date: Sat Jul 31 21:07:37 2010
New Revision: 83354
Log:
#9328: string format methods return strings.
Modified:
python/branches/release27-maint/Objects/stringobject.c
Modified: python/branches/release27-maint/Objects/stringobject.c
==============================================================================
--- python/branches/release27-maint/Objects/stringobject.c (original)
+++ python/branches/release27-maint/Objects/stringobject.c Sat Jul 31 21:07:37 2010
@@ -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\
");
More information about the Python-checkins
mailing list