来源:https://stackoverflow.com/questions/60202691/python-typing-declare-return-value-type-based-on-function-argument 标签 python python-3.x typing