2024-04-19 08:10:46 发布
网友
如何使用重构文本指定字典基类的内容?你知道吗
class A(dict): """ some restructered text here? """ pass a = A() a["key1"] = B() a["key2"] = B() a["key3"] = 1 # here I'd like pycharm to show warning about types mismatch
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐