On Tue, Oct 8, 2019 at 12:47 PM Caleb Donovick firstname.lastname@example.org wrote:
What if I want a getitem that only has keyword arguments? I have to take the empty tuple as a positional argument, instead of just ensuring that the key is a dict.
But what if you wanted to take both positional AND keyword?You can't ensure that the key is both a dict and a tuple.
Cleaner to continue passing the tuple exactly as normal.