NameError: name 'List' is not defined

当在python出现该问题是,使用from typing import List

原文地址:https://www.cnblogs.com/Davirain/p/13521152.html