gh-130102: drop "require numeric arguments" from pow() docs (#137456)

Co-authored-by: Senthil Kumaran <senthil@python.org>
This commit is contained in:
Sergey B Kirpichev 2025-08-08 02:43:18 +03:00 committed by GitHub
parent 350c58ba4e
commit 37b5a0d671
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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