Skip to content

[pynput] Replace FloatInt with float | int - #16987

Open
alienxviking wants to merge 1 commit into
python:mainfrom
alienxviking:pynput-floatint
Open

alienxviking wants to merge 1 commit into
python:mainfrom
alienxviking:pynput-floatint

Conversation

@alienxviking

Copy link
Copy Markdown

Part of #16059.

Every FloatInt in these stubs annotates an argument (timeouts, and for psycopg2 also tick and second values and the FixedOffsetTimezone offset). These accept both int and float, so they become float | int. No attributes or return types are involved.

Prepared with Claude Code (Claude Opus 5.5).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 3, 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