Skip to content

Bad grammar in error message from hypot #29259

@keithbriggs

Description

@keithbriggs

numpy.hypot gives this message:

TypeError: hypot() takes from 2 to 3 positional arguments but 1 were given

It should be

TypeError: hypot() takes from 2 to 3 positional arguments but 1 was given

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions