理解pythonic方式:为什么a.x=1比a.setX(1)更好?

假设我有一个A类,在那里我可以写:
--
Marco Bizzarri http://notenotturne.blogspot.com/http://iliveinpisa.blogspot.com/

# 回答1


Marco Bizzarri写道:
预料到这一明显为时过早的帖子:http://dirtsimple.org/2004/12/python-is-not-java.html
迪兹
# 回答2


在清华大学,2008年9月4日下午1:00,Diez B.Roggisch 预料到这一明显为时过早的帖子:http://dirtsimple.org/2004/12/python-is-not-java.html
迪兹
--http://mail.python.org/mailman/listinfo/python-list
嗨,迪兹,速度真快:-)!
谢谢你的链接,我在过去的几天里看到了它,我读了它;我
非常感谢(事实上,这是一扇通往新世界的大门
对我来说,是蟒蛇).但我想问的是我觉得有点
不同,正如你可以在我的消息中看到的,一旦它满了.
问候
马可
--
Marco Bizzarri http://notenotturne.blogspot.com/http://iliveinpisa.blogspot.com/

标签: python

添加新评论