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

Add return type for dateutil.rrule._rrulestr.__call__. #7868

Merged
merged 1 commit into from May 18, 2022

Conversation

emosenkis
Copy link
Contributor

@emosenkis emosenkis commented May 18, 2022

Based on inferred types at each of the return statements in the implementation.

Based on inferred types at each of the `return` statements in the implementation.
@github-actions
Copy link
Contributor

@github-actions github-actions bot commented May 18, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Union types for return-annotations can be annoying in some situations, but here I think it's okay since they have a common base class

@AlexWaygood AlexWaygood merged commit f2f72d6 into python:master May 18, 2022
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants