Commit 05f819b6 authored by Georg Brandl's avatar Georg Brandl

#9328: string format methods return strings.

parent 6e86bf72
...@@ -3580,7 +3580,7 @@ string_getnewargs(PyStringObject *v) ...@@ -3580,7 +3580,7 @@ string_getnewargs(PyStringObject *v)
#include "stringlib/string_format.h" #include "stringlib/string_format.h"
PyDoc_STRVAR(format__doc__, PyDoc_STRVAR(format__doc__,
"S.format(*args, **kwargs) -> unicode\n\ "S.format(*args, **kwargs) -> string\n\
\n\ \n\
"); ");
...@@ -3614,7 +3614,7 @@ done: ...@@ -3614,7 +3614,7 @@ done:
} }
PyDoc_STRVAR(p_format__doc__, PyDoc_STRVAR(p_format__doc__,
"S.__format__(format_spec) -> unicode\n\ "S.__format__(format_spec) -> string\n\
\n\ \n\
"); ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment