Skip to content

Incorrect type narrowing for inspect.isawaitable #15520

Closed as not planned
Closed as not planned
@heckad

Description

@heckad

Bug Report
https://mypy-play.net/?mypy=1.4.0&python=3.10&gist=5ab30e161d5e83a16538d790c9c2deb9

Expected Behavior

No errors

Actual Behavior

Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrongtopic-typeguard-typeisTypeGuard / TypeIs / PEP 647 / PEP 742

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions