Commit 6ed7aff8 authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

[2.7] bpo-29526: Add reference to help('FORMATTING') in format() builtin (GH-166). (#3492)

(cherry picked from commit 2e6bb448)
parent e1847ea4
......@@ -374,7 +374,9 @@ PyDoc_STRVAR(format_doc,
"format(value[, format_spec]) -> string\n\
\n\
Returns value.__format__(format_spec)\n\
format_spec defaults to \"\"");
format_spec defaults to the empty string.\n\
See the Format Specification Mini-Language section of help('FORMATTING') for\n\
details.");
static PyObject *
builtin_chr(PyObject *self, PyObject *args)
......
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