Skip to content

Commit e4e0f7e

Browse files
authored
Mark math.log parameters as positional-only (#16042)
1 parent 9c7d6c7 commit e4e0f7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/math/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def isqrt(n: SupportsIndex, /) -> int: ...
9090
def lcm(*integers: SupportsIndex) -> int: ...
9191
def ldexp(x: _SupportsFloatOrIndex, i: int, /) -> float: ...
9292
def lgamma(x: _SupportsFloatOrIndex, /) -> float: ...
93-
def log(x: _SupportsFloatOrIndex, base: _SupportsFloatOrIndex = ...) -> float: ...
93+
def log(x: _SupportsFloatOrIndex, base: _SupportsFloatOrIndex = ..., /) -> float: ...
9494
def log10(x: _SupportsFloatOrIndex, /) -> float: ...
9595
def log1p(x: _SupportsFloatOrIndex, /) -> float: ...
9696
def log2(x: _SupportsFloatOrIndex, /) -> float: ...

0 commit comments

Comments
 (0)