Skip to content

Commit

Permalink
add _shape_info and _param_info methods to `rv_{continuous,discre…
Browse files Browse the repository at this point in the history
…te}`
  • Loading branch information
jorenham committed Sep 7, 2024
1 parent e8e739c commit 511358e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scipy-stubs/stats/_distn_infrastructure.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ class _rv_mixin:
badvalue: Final[float]
shapes: Final[LiteralString]

def _shape_info(self, /) -> list[_ShapeInfo]: ...
def _param_info(self, /) -> list[_ShapeInfo]: ...
def _attach_methods(self, /) -> None: ...
def generic_moment(self, /, n: _ArrayLikeInt_co, *args: _ScalarLike_f8_co) -> _Array_f8: ...
def _logpxf(self, /, x: _Array_f8_co, *args: Any) -> _Array_f8: ...
Expand Down

0 comments on commit 511358e

Please sign in to comment.