summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-09-21 19:57:44 (GMT)
committerGitHub <noreply@github.com>2019-09-21 19:57:44 (GMT)
commitb104ecbbafc14f9ca0c8371963c45dca893f6b75 (patch)
treea7003c4a6eb416a571423391d9233333fcd5d87d /Python/bltinmodule.c
parent030fe8e34d3879ffbd57b702b111ee6d4e011441 (diff)
downloadcpython-b104ecbbafc14f9ca0c8371963c45dca893f6b75.zip
cpython-b104ecbbafc14f9ca0c8371963c45dca893f6b75.tar.gz
cpython-b104ecbbafc14f9ca0c8371963c45dca893f6b75.tar.bz2
Shorter docstring (GH-16322)
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 31e7ad76..728ba5b 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1800,7 +1800,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.
@@ -1809,7 +1809,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);
}