Skip to content

Add recognition of numpy.concatenate's dtype parameter #2870

@cfriedland5

Description

@cfriedland5

Astroid's understanding of numpy.concatenate's signature is missing the dtype parameter, which numpy has provided since 1.20.

"concatenate": """def concatenate(arrays, axis=None, out=None):
return numpy.ndarray((0, 0))""",

It is also missing the casting parameter and it probably makes sense to address both in the same PR.

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