Shorter docstring (GH-16322)

This commit is contained in:
Raymond Hettinger 2019-09-21 12:57:44 -07:00 committed by GitHub
parent 030fe8e34d
commit b104ecbbaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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);
}