summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-21 20:32:07 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-09-21 20:32:07 (GMT)
commit24231ca75c721c8167a7394deb300727ccdcba51 (patch)
treebfc77bc91d42713a5254f43e87c7dfa92e29206b /Python/bltinmodule.c
parent37bc93552375cb1bc616927b5c1905bae3c0e99d (diff)
downloadcpython-24231ca75c721c8167a7394deb300727ccdcba51.zip
cpython-24231ca75c721c8167a7394deb300727ccdcba51.tar.gz
cpython-24231ca75c721c8167a7394deb300727ccdcba51.tar.bz2
bpo-38237: Shorter docstring (GH-16322) (GH-16323)
(cherry picked from commit b104ecbbafc14f9ca0c8371963c45dca893f6b75) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 0d3f7ed..90a6b9f 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1801,7 +1801,7 @@ pow as builtin_pow
exp: object
mod: object = None
-Equivalent to base**exp (with two arguments) or base**exp % mod (with three arguments)
+Equivalent to base**exp with 2 arguments or base**exp % mod with 3 arguments
Some types, such as ints, are able to use a more efficient algorithm when
invoked using the three argument form.
@@ -1810,7 +1810,7 @@ invoked using the three argument form.
static PyObject *
builtin_pow_impl(PyObject *module, PyObject *base, PyObject *exp,
PyObject *mod)
-/*[clinic end generated code: output=3ca1538221bbf15f input=bd72d0a0ec8e5eb5]*/
+/*[clinic end generated code: output=3ca1538221bbf15f input=435dbd48a12efb23]*/
{
return PyNumber_Power(base, exp, mod);
}