summaryrefslogtreecommitdiffstats
path: root/Python/clinic
diff options
context:
space:
mode:
authorAmit Kumar <aktech@users.noreply.github.com>2017-05-29 01:02:26 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2017-05-29 01:02:26 (GMT)
commit2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0 (patch)
treece9751a0399c4d29adae995c6e658d32c8405afb /Python/clinic
parentac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1 (diff)
downloadcpython-2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0.zip
cpython-2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0.tar.gz
cpython-2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0.tar.bz2
Add reference to help('FORMATTING') in format() builtin (GH-166)
Diffstat (limited to 'Python/clinic')
-rw-r--r--Python/clinic/bltinmodule.c.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/clinic/bltinmodule.c.h b/Python/clinic/bltinmodule.c.h
index b52bde2..d93a45d 100644
--- a/Python/clinic/bltinmodule.c.h
+++ b/Python/clinic/bltinmodule.c.h
@@ -77,7 +77,9 @@ PyDoc_STRVAR(builtin_format__doc__,
"\n"
"Return value.__format__(format_spec)\n"
"\n"
-"format_spec defaults to the empty string");
+"format_spec defaults to the empty string.\n"
+"See the Format Specification Mini-Language section of help(\'FORMATTING\') for\n"
+"details.");
#define BUILTIN_FORMAT_METHODDEF \
{"format", (PyCFunction)builtin_format, METH_FASTCALL, builtin_format__doc__},
@@ -722,4 +724,4 @@ builtin_issubclass(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject
exit:
return return_value;
}
-/*[clinic end generated code: output=3234725ef4d8bbf1 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=17fedd2dec148677 input=a9049054013a1b77]*/