Discuss / Python / python的类很个性

python的类很个性

Topic source

yan32777

#1 Created at ... [Delete] [Delete and Lock User]

1.定义了一个类实例方法,还要把self自己当第一个参数传进去。

2.类实例方法带self参数,调用时却不传参数。

3.一切都是伪实现,自己骗自己呢。

python的语法制定者不知道怎么想的。


  • 1

Reply