Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add stubs for operator.is_none and operator.is_not_none#12535

Merged
Akuli merged 5 commits into
python:mainpython/typeshed:mainfrom
ZeroIntensity:operator-is-noneZeroIntensity/typeshed:operator-is-noneCopy head branch name to clipboard
Aug 17, 2024
Merged

Add stubs for operator.is_none and operator.is_not_none#12535
Akuli merged 5 commits into
python:mainpython/typeshed:mainfrom
ZeroIntensity:operator-is-noneZeroIntensity/typeshed:operator-is-noneCopy head branch name to clipboard

Conversation

@ZeroIntensity

Copy link
Copy Markdown
Member

New in 3.14 (see here).

@github-actions

This comment has been minimized.

@Akuli Akuli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! I tried this in mypy playground, and it works. Just one nit.

Comment thread stdlib/_operator.pyi Outdated
Co-authored-by: Akuli <akuviljanen17@gmail.com>
@ZeroIntensity ZeroIntensity requested a review from Akuli August 17, 2024 15:09
@ZeroIntensity

Copy link
Copy Markdown
Member Author

Added it, thanks!

@github-actions

Copy link
Copy Markdown
Contributor

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

@Akuli Akuli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@Akuli Akuli merged commit eb8e9dd into python:main Aug 17, 2024
@ZeroIntensity ZeroIntensity deleted the operator-is-none branch August 17, 2024 21:10
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
…2535)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.