Inspect
Note
Private module
Inspect package of ispec.
Module containing functions used to inspect methods and classes.
- ispec._inspect.get_methods(cls: type[object]) list[collections.abc.Callable[..., Any]][source]
Return the list of the methods declared in a class.
- Parameters:
cls (
type[object]) –- Return type:
list[Callable[...,Any]]
- ispec._inspect.get_signature(obj: collections.abc.Callable[[...], Any]) inspect.Signature[source]
Encapsulate inspect.signature.
- Parameters:
obj (
Callable[...,Any]) –- Return type:
Signature