From e82a4172c7183242f87401cdf1110180549ab1a5 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Wed, 6 Aug 2025 15:24:07 +0300 Subject: [PATCH] gh-130102: drop "require numeric arguments" from pow() docs --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 80bd1275973f8d..857b40f3ba155c 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1577,7 +1577,7 @@ are always available. They are listed here in alphabetical order. ``pow(base, exp) % mod``). The two-argument form ``pow(base, exp)`` is equivalent to using the power operator: ``base**exp``. - The arguments must have numeric types. With mixed operand types, the + When arguments are builtin numeric types with mixed operand types, the coercion rules for binary arithmetic operators apply. For :class:`int` operands, the result has the same type as the operands (after coercion) unless the second argument is negative; in that case, all arguments are