|
1
4
你要找的术语是 union type .
|
|
2
1
|
|
|
3
0
在python中,没有这样严格的类型检查,这就是为什么它遵循duck类型 https://realpython.com/lessons/duck-typing/
|
|
|
4
-2
使用
|