Skip to content

Commit 7487f66

Browse files
Update stdlib/decimal.pyi
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 79a0b59 commit 7487f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/decimal.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Decimal:
7272
def __new__(cls, value: _DecimalNew = "0", context: Context | None = None) -> Self: ...
7373
if sys.version_info >= (3, 14):
7474
@classmethod
75-
def from_number(cls, number: float, /) -> Self: ...
75+
def from_number(cls, number: Decimal | float, /) -> Self: ...
7676

7777
@classmethod
7878
def from_float(cls, f: float, /) -> Self: ...

0 commit comments

Comments
 (0)