通常的成语是:
def set_data(obj=None, name='delp', type=None): if type is None: type = name
(但是实际上不要
type用作变量名,它会如下所述掩盖内置函数:在我的代码中使用python单词“
type”安全吗?)
欢迎分享,转载请注明来源:内存溢出
通常的成语是:
def set_data(obj=None, name='delp', type=None): if type is None: type = name
(但是实际上不要
type用作变量名,它会如下所述掩盖内置函数:在我的代码中使用python单词“
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)