Registry Mirror
Skip to content

Conversation

@Seahzee

@Seahzee Seahzee commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Description

The function accepts a single tuple, but the documentation examples pass multiple arguments. I changed the four related examples to pass the index as a tuple.

Checklist

DOC: fix backend indexing examples (GH7450)
@headtr1ck

Copy link
Copy Markdown
Collaborator

Did you verify that this is an actual mistake? The issue description mentions that it might actually be ok.

@headtr1ck headtr1ck left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ok, I checked and it is actually a bug. Looks good, thanks!

@headtr1ck
headtr1ck enabled auto-merge (squash) October 1, 2026 08:35
@headtr1ck

Copy link
Copy Markdown
Collaborator

oh, feel free to add an entry in whats-new!

@headtr1ck headtr1ck added the plan to merge Final call for comments label Oct 1, 2026
Fix backend array indexing examples to use a single tuple for indexers.
auto-merge was automatically disabled October 2, 2026 08:20

Head branch was pushed to by a user without write access

@headtr1ck
headtr1ck merged commit 45629cc into pydata:main Oct 4, 2026
43 of 45 checks passed
@welcome

welcome Bot commented Oct 4, 2026

Copy link
Copy Markdown

Congratulations on completing your first pull request! Welcome to Xarray! We are proud of you, and hope to see you again! celebration gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend array documentation typo

2 participants