https://github.com/python/cpython/commit/f565c0961af93b7984fa80983e04f03126a9d4e0 commit: f565c0961af93b7984fa80983e04f03126a9d4e0 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: orsenthil <sent...@python.org> date: 2025-08-07T18:25:24-07:00 summary:
[3.13] gh-130102: drop "require numeric arguments" from pow() docs (GH-137456) (#137537) gh-130102: drop "require numeric arguments" from pow() docs (GH-137456) (cherry picked from commit 37b5a0d671685645db8f1d5ecfa1260587f1fc28) Co-authored-by: Sergey B Kirpichev <skirpic...@gmail.com> Co-authored-by: Senthil Kumaran <sent...@python.org> files: M Doc/library/functions.rst diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 4453a083327af4..d9fb5900e08ee4 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1565,7 +1565,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 _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: arch...@mail-archive.com