Skip to content

DOC: missing change in 3.0 Migration Guide? #3536

@christine-e-smit

Description

@christine-e-smit

Describe the issue linked to the documentation

It looks to me as though the function signature for resize() has changed for arrays. I believe that previously, an array was resized:

z.resize(10,10)

but the new documentation says it should now be:

z.resize((10,10))

This is more consistent with how shapes are treated in things like numpy so I see why you made this change, but it doesn't seem to be captured in the 3.0 Migration Guide. Am I missing something? Or should I submit a pull request with a suggested change?

Suggested fix for documentation

Under "The Array class" section, I'd add a third bullet with the signature change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements to the documentationhelp wantedIssue could use help from someone with familiarity on the topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions