Skip to content

[red-knot] T | object = object #16084

@sharkdp

Description

@sharkdp

Description

We can generally simplify unions involving object to object. We already do so for fully-static types, but this is also more generally true for all gradual types. For example, Any | object is equivalent to object.

Metadata

Metadata

Assignees

Labels

tyMulti-file analysis & type inference

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions