We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Despite having:
class g(): ... def __getitem__(self, index): # type: (Union[int, slice, Callable]) -> Union[IterableWrapper, Any]
Running mypy triggers "error: Slice index must be an integer or None" for g()[lambda x: x > 4:].
g()[lambda x: x > 4:]