summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2019-09-03 09:21:45 (GMT)
committerTal Einat <taleinat+github@gmail.com>2019-09-03 09:21:45 (GMT)
commit0cf832a9ef84be6e18aad02464814530d80b82b2 (patch)
tree8abdecc0f3dff4779aa36b92bb380af57fb76910
parent132acaba5a7f01373ca624b1a5975b190fe866f5 (diff)
downloadcpython-0cf832a9ef84be6e18aad02464814530d80b82b2.zip
cpython-0cf832a9ef84be6e18aad02464814530d80b82b2.tar.gz
cpython-0cf832a9ef84be6e18aad02464814530d80b82b2.tar.bz2
bpo-37798: Fix _statistics module doc (GH-15546)
-rw-r--r--Modules/_statisticsmodule.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/_statisticsmodule.c b/Modules/_statisticsmodule.c
index 676d3fb..16a9924 100644
--- a/Modules/_statisticsmodule.c
+++ b/Modules/_statisticsmodule.c
@@ -110,10 +110,13 @@ static PyMethodDef statistics_methods[] = {
{NULL, NULL, 0, NULL}
};
+PyDoc_STRVAR(statistics_doc,
+"Accelerators for the statistics module.\n");
+
static struct PyModuleDef statisticsmodule = {
PyModuleDef_HEAD_INIT,
"_statistics",
- _statistics__normal_dist_inv_cdf__doc__,
+ statistics_doc,
-1,
statistics_methods,
NULL,