摘要: https://www.cnblogs.com/kex1n/p/5991249.html https://blog.csdn.net/wwx890208/article/details/80534453 __init__()有一个参数self,该self参数就是__new__()返回的实例(原来__ 阅读全文
posted @ 2019-01-27 22:56 心媛意码 阅读(327) 评论(0) 推荐(0) 编辑
摘要: arg对应多出来的位置参数,把它们解析成tuple;kwargs把关键字参数解析成dict. 文章参考:https://www.jianshu.com/p/e0d4705e8293 阅读全文
posted @ 2019-01-27 13:36 心媛意码 阅读(343) 评论(0) 推荐(0) 编辑