Skip to content

Is there a way to represent an empty tuple type? #4211

@leandropls

Description

@leandropls

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions