]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Shorter docstring (GH-16322)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sat, 21 Sep 2019 19:57:44 +0000 (12:57 -0700)
committerGitHub <noreply@github.com>
Sat, 21 Sep 2019 19:57:44 +0000 (12:57 -0700)
Python/bltinmodule.c
Python/clinic/bltinmodule.c.h

index 31e7ad7658b46961d88c246ba4d10f12215e4183..728ba5bdc99bd16eaede5b71c1247260a52b779c 100644 (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);
 }
index f6c5b7c1c8bd9ed0f3ccce5d598d8ad5e950ddb7..d15af1f7f377c6f29cc17de7cf462cf13bceea19 100644 (file)
@@ -611,7 +611,7 @@ PyDoc_STRVAR(builtin_pow__doc__,
 "pow($module, /, base, exp, mod=None)\n"
 "--\n"
 "\n"
-"Equivalent to base**exp (with two arguments) or base**exp % mod (with three arguments)\n"
+"Equivalent to base**exp with 2 arguments or base**exp % mod with 3 arguments\n"
 "\n"
 "Some types, such as ints, are able to use a more efficient algorithm when\n"
 "invoked using the three argument form.");
@@ -855,4 +855,4 @@ builtin_issubclass(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
 exit:
     return return_value;
 }
-/*[clinic end generated code: output=1e2a6185e05ecd11 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=29686a89b739d600 input=a9049054013a1b77]*/