Skip to content

[croniter] Correct the type of croniter.expanded - #16940

Open
emmanuel-ferdman wants to merge 1 commit into
python:mainfrom
emmanuel-ferdman:croniter-expanded-type
Open

emmanuel-ferdman wants to merge 1 commit into
python:mainfrom
emmanuel-ferdman:croniter-expanded-type

Conversation

@emmanuel-ferdman

Copy link
Copy Markdown
Contributor

PR Summary

This PR fixes the type of croniter.expanded - the stub says it holds strings, but croniter stores numbers there (plus "*" and "l"), the same values expand() returns. It now uses the existing ExpandedExpression type. Reference: croniter.__init__.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

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

This branch has not been deployed

No deployments
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.

1 participant