Skip to content

Conversation

@DimitriPapadopoulos
Copy link
Contributor

  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

lhs = ",".join("({})".format(",".join(dims)) for dims in self.input_core_dims)
rhs = ",".join("({})".format(",".join(dims)) for dims in self.output_core_dims)
comma_separated = ",".join
lhs = comma_separated(
Copy link
Collaborator

Choose a reason for hiding this comment

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

not sure this got simpler, but ok!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure either.

The only benefit might be that the intent shows clearly: separate with commas.

@max-sixty
Copy link
Collaborator

thanks!

@max-sixty max-sixty merged commit 4de7281 into pydata:main Jul 5, 2025
37 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the PYL-C0209 branch July 6, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants