Skip to content

MAINT: remove unreachable codepath. #272

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 1 commit into from
Jan 1, 2021

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Jul 1, 2020

I'm not sure what the wider context for this bit is (git blame didn't indicate that this was a mistake) but AFAICT this is unreachable code that is similar (but not identical) to the implementation in the base class NumpyDocString.

Removes conditional after a return statement.
@rossbar
Copy link
Contributor Author

rossbar commented Jul 20, 2020

Close/reopen to retrigger CI

@rossbar rossbar closed this Jul 20, 2020
@rossbar rossbar reopened this Jul 20, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #272 into master will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #272      +/-   ##
==========================================
+ Coverage   93.15%   93.32%   +0.16%     
==========================================
  Files           7        7              
  Lines        1257     1258       +1     
==========================================
+ Hits         1171     1174       +3     
+ Misses         86       84       -2     

Copy link
Collaborator

@larsoner larsoner left a comment

Choose a reason for hiding this comment

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

Looks okay to me

@rgommers
Copy link
Member

rgommers commented Jan 1, 2021

Looks fine to me too, in it goes.

@rgommers rgommers merged commit 4210060 into numpy:master Jan 1, 2021
@jarrodmillman jarrodmillman added this to the 1.2.0 milestone Jan 9, 2022
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.

5 participants