-
-
Couldn't load subscription status.
- Fork 150
Type RangeIndex
#1453
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
base: main
Are you sure you want to change the base?
Type RangeIndex
#1453
Conversation
| @final | ||
| def get_indexer(self, target, method=..., limit=..., tolerance=...): ... | ||
| def tolist(self): ... | ||
| def min(self, axis=..., skipna: bool = ..., *args: Any, **kwargs: Any): ... | ||
| def max(self, axis=..., skipna: bool = ..., *args: Any, **kwargs: Any): ... | ||
| def argsort(self, *args: Any, **kwargs: Any): ... |
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 removing these so the parent definition is used, there's no need to override them right?
the only one, AFAICT, that needs overriding is __floordiv__, which I've kept
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.
#1452 can help with __floordiv__, but I guess this PR will be merged first
| *, | ||
| how: JoinHow = "left", | ||
| level: Level | None = None, | ||
| return_indexers: Literal[False] = ..., |
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.
Maybe just add the default value
| return_indexers: Literal[False] = ..., | |
| return_indexers: Literal[False] = False, |
assert_type()to assert the type of any return valuecloses #1442