How to specify argument type in a dynamically typed language, i.e. Python?

后端 未结 5 1635
甜味超标
甜味超标 2021-01-23 13:11

Is there any such equivalent of Java

String myMethod (MyClass argument) {...}

in Python?

Thank you, Tomas

5条回答
提交回复
热议问题