basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

`dict.get` is too strict

Open KotlinIsland opened this issue 1 year ago • 1 comments

a: int | str
{1: 1}.get(a)

type of a overlaps with the keytype int

KotlinIsland avatar Jul 29 '24 05:07 KotlinIsland

  • #213

KotlinIsland avatar Sep 16 '24 16:09 KotlinIsland