Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5347 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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

 

Avatar
Abbandona
Autore

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

jup... bole (at) dajmi5.com

Post correlati Risposte Visualizzazioni Attività
1
ago 23
3422
1
mar 15
11101
2
mag 25
1165
2
ott 23
3169
1
apr 23
3770