-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
CLN: Assorted cleanups #29175
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
CLN: Assorted cleanups #29175
Conversation
WillAyd
left a comment
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.
looks good minor question
|
|
||
|
|
||
| def slice_getitem(slice slc not None, ind): | ||
| cdef slice_getitem(slice slc, ind): |
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.
Do we have a not None check elsewhere?
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.
not None is not allowed in a cdef function. we only call this from one place in this module, and it is immediately after checking that we do in fact have a slice
|
thanks |
No description provided.