小布_cvg

关注

Python, unsupported operand type(s) for *: ‘int‘ and ‘NoneType‘

小布_cvg

关注

阅读 191

2022-02-16

File "<__array_function__ internals>", line 6, in dot
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

使用dot时,左右两边类型不同,函数没有返回值,默认返回None

一般出现:TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'。都是返回值为 None 了

相关推荐

搬砖的小木匠

TypeError: unsupported operand type(s) for *: ‘float‘ and ‘NoneType‘

搬砖的小木匠 236 0 0

浮游图灵

解决报错TypeError:unsupported operand type(s) for +: ‘NoneType‘ and ‘str‘

浮游图灵 91 0 0

Gascognya

TypeError: unsupported operand type(s) for |: 'str' and 'str'

Gascognya 142 0 0

半秋L

已解决typeerror: unsupported operand

半秋L 41 0 0

想溜了的蜗牛

TypeError: argument of type ‘NoneType‘ is not iterable

想溜了的蜗牛 88 0 0

小北的爹

eclipse Unsupported Content Type

小北的爹 39 0 0

大自然在召唤

415 (Unsupported Media Type)

大自然在召唤 75 0 0

何以至千里

Flutter开发type 'Future<int>' is not a subtype of type 'int' in type cast错误

何以至千里 33 0 0

蒸熟的土豆

ffmpeg编译 Error: operand type mismatch for `shr‘

蒸熟的土豆 51 0 0

山竹山竹px

SprignMVC 415 Unsupported Media Type 错误

山竹山竹px 55 0 0

精彩评论(0)

0 0 举报