Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the return type of __reduce__ and __reduce_ex__ to Union[str, Tuple[Any, ...]] #3453

Merged
merged 1 commit into from
Nov 10, 2019
Merged

Change the return type of __reduce__ and __reduce_ex__ to Union[str, Tuple[Any, ...]] #3453

merged 1 commit into from
Nov 10, 2019

Commits on Nov 10, 2019

  1. Change the return type of __reduce__ and __reduce_ex__ to Union[str, …

    …Tuple[Any, ...]]
    
    This allows subclasses to return strings (which are allowed) from these
    methods without having mypy throwing an error.
    MSeifert04 committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    9811adc View commit details
    Browse the repository at this point in the history