Skip to content

Remove arguments for super (trivial cases)#6613

Merged
bsipocz merged 1 commit into
astropy:masterfrom
MSeifert04:super_noarg
Sep 28, 2017
Merged

Remove arguments for super (trivial cases)#6613
bsipocz merged 1 commit into
astropy:masterfrom
MSeifert04:super_noarg

Conversation

@MSeifert04

Copy link
Copy Markdown
Contributor

This removes the arguments for super for the trivial cases (first argument the class and the second argument the argument to be bound).

There are still dozens of places where removing the arguments could change the behavior. I didn't want to touch those, most looked like copy&paste mistakes but some seemed genuine. Probably better to do that later on a per-subpackage basis.

@astropy-bot

astropy-bot Bot commented Sep 26, 2017

Copy link
Copy Markdown

Hi there @MSeifert04 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog and making sure that this pull request is milestoned and labelled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

Everything looks good from my point of view! 👍

If there are any issues with this message, please report them here

@saimn saimn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks for taking this one @MSeifert04 !

@pllim pllim requested a review from bsipocz September 27, 2017 15:56
@mhvk

mhvk commented Sep 27, 2017

Copy link
Copy Markdown
Contributor

Looks good to me too. Thanks for the cleanup!

@MSeifert04

Copy link
Copy Markdown
Contributor Author

can this be merged?

@bsipocz

bsipocz commented Sep 28, 2017

Copy link
Copy Markdown
Member

While it looks good, I'm running through the diff one more time, and then will hit the button.

@bsipocz bsipocz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Everything looks right to me.

@bsipocz bsipocz merged commit 9fc44c4 into astropy:master Sep 28, 2017
@bsipocz

bsipocz commented Sep 28, 2017

Copy link
Copy Markdown
Member

Thanks @MSeifert04 for this cleanup!

@MSeifert04 MSeifert04 deleted the super_noarg branch September 28, 2017 13: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