From a4c54a45c1b5c502125609b3c88760df64a6f453 Mon Sep 17 00:00:00 2001 From: donBarbos Date: Sun, 19 Oct 2025 12:01:29 +0400 Subject: [PATCH] [cmath] Rename positional-only param in log Source: https://github.com/python/cpython/blob/790cdae5a0295586a55f00a57ed24a86b83928dc/Modules/cmathmodule.c#L864 Docs: https://docs.python.org/dev/library/cmath.html#cmath.log --- stdlib/cmath.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/cmath.pyi b/stdlib/cmath.pyi index a08addcf5438..aed4c63862fe 100644 --- a/stdlib/cmath.pyi +++ b/stdlib/cmath.pyi @@ -23,7 +23,7 @@ def exp(z: _C, /) -> complex: ... def isclose(a: _C, b: _C, *, rel_tol: SupportsFloat = 1e-09, abs_tol: SupportsFloat = 0.0) -> bool: ... def isinf(z: _C, /) -> bool: ... def isnan(z: _C, /) -> bool: ... -def log(x: _C, base: _C = ..., /) -> complex: ... +def log(z: _C, base: _C = ..., /) -> complex: ... def log10(z: _C, /) -> complex: ... def phase(z: _C, /) -> float: ... def polar(z: _C, /) -> tuple[float, float]: ...