python参数在函数中可以当做任意类型使用,强制在Python中使用函数参数类型?
I have a function in a Python class that adds Interfaces to a list.def RegisterAsListener(self, inListener):self.__TransitListeners.append(inListener)This is nice, because a class just needs to inheri...