When calling `chisquare`, the constructor calls `inspect.getargspec` which apparently does not work in Python 3.11 I solved the issue by changing line 172 from `args = inspect.getargspec(f)[0]` to `args = inspect.getfullargspec(f)[0]`
When calling
chisquare, the constructor callsinspect.getargspecwhich apparently does not work in Python 3.11I solved the issue by changing line 172 from
args = inspect.getargspec(f)[0]to
args = inspect.getfullargspec(f)[0]