Skip to content

Commit 6be65c8

Browse files
committed
Change default for float.__new__ to match runtime
1 parent c8663fc commit 6be65c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ class int:
362362

363363
@disjoint_base
364364
class float:
365-
def __new__(cls, x: ConvertibleToFloat = 0.0, /) -> Self: ...
365+
def __new__(cls, x: ConvertibleToFloat = 0, /) -> Self: ...
366366
def as_integer_ratio(self) -> tuple[int, int]: ...
367367
def hex(self) -> str: ...
368368
def is_integer(self) -> bool: ...

0 commit comments

Comments
 (0)