Skip to content

Remove unnecessary sort when defining __all__ - #4785

Merged
astrofrog merged 1 commit into
astropy:masterfrom
larrybradley:all_sorted
Apr 18, 2016
Merged

astrofrog merged 1 commit into
astropy:masterfrom
larrybradley:all_sorted

Conversation

@larrybradley

Copy link
Copy Markdown
Member

It is unnecessary to sort the entries in __all__. I think this is a holdover from when the entries were not automatically sorted in the docs.

@pllim

pllim commented Apr 18, 2016

Copy link
Copy Markdown
Member

👍

1 similar comment
@astrofrog

Copy link
Copy Markdown
Member

👍

@saimn

saimn commented Apr 18, 2016

Copy link
Copy Markdown
Contributor

Parenthesis can be removed as well ;-)

@larrybradley

Copy link
Copy Markdown
Member Author

Yes, of course. Thanks for catching that, @saimn. Done!

@astrofrog

Copy link
Copy Markdown
Member

Thanks @larrybradley!

@astrofrog
astrofrog merged commit e3a43b9 into astropy:master Apr 18, 2016
@larrybradley
larrybradley deleted the all_sorted branch April 19, 2016 01:25
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.

4 participants