Skip to content

unknown even when has definition #4064

Description

@asukaminato0721

Describe the Bug

Image

vs

Image
    def __contains__(self, key: object, /) -> bool:
        """Return bool(key in self)."""
        ...

So I think even when key don't have type, the operation is sure?

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverIssues specific to our IDE integration rather than type checking

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions