Skip to content

getargspec not defined in Python 3.11 #1

Description

@pietro-butti

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions