Skip to content

Clarify dpnp.reshape docstring#2964

Merged
antonwolfy merged 4 commits into
masterfrom
update-reshape-docstring
Jun 22, 2026
Merged

Clarify dpnp.reshape docstring#2964
antonwolfy merged 4 commits into
masterfrom
update-reshape-docstring

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Updates the dpnp.reshape docstring summary line (and the corresponding "See Also" reference in dpnp.ndarray) to clarify that it returns a reshaped array, preventing confusion about whether it modifies the array in-place.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.21.0 release milestone Jun 22, 2026
@antonwolfy antonwolfy self-assigned this Jun 22, 2026

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you @antonwolfy

@github-actions

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2964/index.html

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 78.084% (+0.002%) from 78.082% — update-reshape-docstring into master

@github-actions

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev1=py313h509198e_19 ran successfully.
Passed: 1357
Failed: 3
Skipped: 16

@antonwolfy antonwolfy merged commit dbc1813 into master Jun 22, 2026
77 of 85 checks passed
@antonwolfy antonwolfy deleted the update-reshape-docstring branch June 22, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants