跳至內容
選單
此問題已被標幟
1 回覆
5336 瀏覽次數

Why after definition of some python classes stands constructor call, for example in purchase module after class purchase_order_line there is line purchase_order_line(), and after purchase_order is not?

頭像
捨棄
最佳答案

calling a class after defining it like is a leftover wich is not in use since v6 ...
still you can find lots of old modules that are using that, but technicaly... that calls the uper named class after reading it.. .
so no need for that part of code... (also no big harm in using it)

hope it helps

 

頭像
捨棄
作者

Bole, da li te mogu kontaktirati u vezi par pitanja koje mi je lakse ispricati na nasem jeziku?

jup... bole (at) dajmi5.com

相關帖文 回覆 瀏覽次數 活動
1
8月 23
3418
1
3月 15
11097
2
5月 25
1152
2
10月 23
3168
1
4月 23
3765