摘要: >>> def fn(): ... print("ok") ... >>> fn() ok >>> fn.s=123 >>> fn.s 123 >>> fn.ss Traceback (most recent call last): File "", line 1, in AttributeError: 'function' object has no attribute 'ss'... 阅读全文
posted @ 2019-02-26 12:48 巨兽~墨菲特 阅读(124) 评论(0) 推荐(0) 编辑