-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
DOC: #defining -> #define / Added a short explanation for Numeric #11929
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
Conversation
#pragma message(_WARN___LOC__"Using deprecated NumPy API, disable it by " \ | ||
"#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION") | ||
#pragma message(_WARN___LOC__"Using deprecated NumPy API, disable it with " \ | ||
"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION") | ||
#elif defined(__GNUC__) | ||
#warning "Using deprecated NumPy API, disable it by " \ | ||
"#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed the message duplicate on this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what do you mean by "message duplicate". Anyway I found two more lines which used #defining
instead of #define
and fixed them the same way.
doc/release/1.7.0-notes.rst
Outdated
========================= | ||
=========================== | ||
NumPy 1.7.0 Release Notes | ||
=========================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this doesn't break the rendering?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I built the html file and it looks okay in my browser.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer this to stay as is - every other release note does not have these spaces. The bar for modifying past release notes should be fairly high, and I don't think these lines meet that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
Thanks @derek-kim |
Trivial docs fix requests