Skip to content

Commit 06e3f6b

Browse files
committed
🐴 stats: remove mypy<1.18 stubtest workaround in _biasedurn._PyStochasticLib3
1 parent 687ae0a commit 06e3f6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scipy-stubs/stats/_biasedurn.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# see `scipy/stats/_biasedurn.pyx`
22

3-
from typing import Never, type_check_only
3+
from typing import type_check_only
44

55
import numpy as np
66
import optype as op
@@ -21,7 +21,6 @@ class _PyFishersNCHypergeometric(_PyNCHypergeometric): ...
2121
class _PyWalleniusNCHypergeometric(_PyNCHypergeometric): ...
2222

2323
class _PyStochasticLib3:
24-
def __init__(self, /, *args: Never, **kwargs: Never) -> None: ...
2524
def Random(self, /) -> float: ...
2625
def SetAccuracy(self, /, accur: op.CanFloat) -> None: ...
2726
def FishersNCHyp(self, /, n: op.CanInt, m: op.CanInt, N: op.CanInt, odds: op.CanFloat) -> _PyFishersNCHypergeometric: ...

0 commit comments

Comments
 (0)