Skip to content

[pytz] Replace FloatInt with float | int - #16960

Merged
srittau merged 1 commit into
python:mainfrom
Razepriv:floatint-pytz
Dec 2, 2026
Merged

srittau merged 1 commit into
python:mainfrom
Razepriv:floatint-pytz

Conversation

@Razepriv

@Razepriv Razepriv commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Part of #16059.

Both arguments are passed straight to timedelta() (source, source), which accepts ints.

Prepared with Claude Code (Claude Opus 5.5).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings December 2, 2026 18:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

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

@srittau
srittau merged commit 84222a8 into python:main Dec 2, 2026
74 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.

3 participants