JuliaLang:master
← JuliaLang:nl/sort
opened 08:35PM - 15 Jun 17 UTC
This argument is only used internally and was not supposed to be documented
(wh…ich was the case in Julia 0.6). Remove it everywhere it is not needed, that
is in all functions except `sortperm()`, for which that argument is used by
`sortrows()` and `sortcols()` internally. Remove it for docstrings anyway.
Also remove the initialized keyword argument to sort(), which had no effect
and was not documented in Julia 0.6 either.
-------------
Fixes https://github.com/JuliaLang/julia/issues/22382 in the most radical way.
I must say I don't really understand the role of `Ordering` but since @StefanKarpinski said it was supposed to be internal I removed it from all places where it wasn't used. If that's not OK, I can change the PR to remove only the mentions in the docstrings.
Cc @kshyatt who added mentions of these arguments to the docstrings in https://github.com/JuliaLang/julia/pull/18041, probably to match the actual signature.