Skip to content

Commit 233898d

Browse files
committed
✨ embed NEP50 in inexact types & hugely simplify __[r]add__
1 parent cada4f8 commit 233898d

File tree

2 files changed

+155
-215
lines changed

2 files changed

+155
-215
lines changed

src/_numtype/@test/test_nep50.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,4 +565,4 @@ cld_to_f8: CanCast0D[Any, np.clongdouble] = f8 # type: ignore[assignment] # py
565565
cld_to_ld: CanCast0D[Any, np.clongdouble] = ld # type: ignore[assignment] # pyright: ignore[reportAssignmentType]
566566
cld_to_c8: CanCast0D[Any, np.clongdouble] = c8 # type: ignore[assignment] # pyright: ignore[reportAssignmentType]
567567
cld_to_c16: CanCast0D[Any, np.clongdouble] = c16 # type: ignore[assignment] # pyright: ignore[reportAssignmentType]
568-
cld_to_cld: CanCast0D[Any, np.clongdouble] = cld # type: ignore[assignment] # pyright: ignore[reportAssignmentType]
568+
cld_to_cld: CanCast0D[Any, np.clongdouble] = cld # NOTE: allowing this simplifies the __nep50__ definition

0 commit comments

Comments
 (0)