来源:https://stackoverflow.com/questions/56099712/why-bool-and-int-are-not-considered-as-a-type-error-when-str-and-float-is-requir 标签 python type-hinting