Closed
Description
The argument signature for the fcall methods reads:
self, function, numkeys: int, *keys_and_args: Optional[List]
Per PEP 484, the type annotation for an argument list should be the type of the expected elements, not List
. This causes mypy to return spurious errors on code including the fcall method.
I believe this annotation should be *keys_and_args: Any
.
Metadata
Metadata
Assignees
Labels
No labels