编辑器
import inspect print(hasattr(inspect, "signature"))
True