Skip to content

BUG: fix an incomplete check in Reader._error_location #308

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 2, 2021

Conversation

rgommers
Copy link
Member

@rgommers rgommers commented Jan 1, 2021

It's unclear why self._obj can be None, but that's what I'm
seeing when trying numpydoc master to build SciPy master.

This fix gives the right traceback.

It's unclear why `self._obj` can be None, but that's what I'm
seeing when trying numpydoc master to build SciPy master.

This fix gives the right traceback.
@rgommers
Copy link
Member Author

rgommers commented Jan 2, 2021

This is a one-liner fix that cannot break anything, so I'll go ahead and merge it.

@rgommers rgommers merged commit 2e76685 into numpy:master Jan 2, 2021
@rgommers rgommers deleted the fix-missing-obj branch January 2, 2021 15:20
@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.

2 participants