Skip to content

Don't call sort! and partialsort! "in-place" #58901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 29, 2025
Merged

Conversation

LilithHafner
Copy link
Member

"in-place" strongly implies non-allocating. This docs change removes that language from the sort! and sortperm! docstrings because those functions do sometimes allocate.

@LilithHafner LilithHafner added docs This change adds or pertains to documentation sorting Put things in order labels Jul 4, 2025
@LilithHafner LilithHafner merged commit f2c2837 into master Jul 29, 2025
4 of 7 checks passed
@LilithHafner LilithHafner deleted the lh/sort-in-place branch July 29, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation sorting Put things in order
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants