logging.handlers.SMTPHandler arg secure accepts something like this:
Union[EmptyTuple, Tuple[str], Tuple[str, str]]
Is there a way to define the EmptyTuple part?
Should be Tuple[()]
@elazarg thanks!
I did not find any documentation of this, so it would be nice to add that.
True, the only mention of Tuple[()] is in PEP 484.
Most helpful comment
Should be
Tuple[()]