标签: mypy
我正在尝试使用mypy 0.701检查字节b'foo' in b'foobar'中的字节,但出现错误Non-overlapping container check (element type: \"bytes\", container item type: \"int\")"
b'foo' in b'foobar'
Non-overlapping container check (element type: \"bytes\", container item type: \"int\")"
mypy是否了解in的{{1}}运算符?
in