Bruno Desthuilliers kirjoitti:
> Stef Mientki a écrit :
>> How should I overload / disable a method ?
>> In the example below I have defined the class "Power_Supply", derived
>> from baseclass "device".
>
>
> Naming conventions are to use CamelCase for class names. So it would be
> better to na
Stef Mientki wrote:
> How should I overload / disable a method ?
> In the example below I have defined the class "Power_Supply", derived
> from baseclass "device".
> The baseclass has a method "execute", which will be implemented in most
> derived classes, but not in all.
> Now apparently it's no
Stef Mientki a écrit :
> How should I overload / disable a method ?
> In the example below I have defined the class "Power_Supply", derived
> from baseclass "device".
Naming conventions are to use CamelCase for class names. So it would be
better to name your classes 'PowerSupply' (no '_') and '
class Power_Supply (device):
def execute (self):
pass
Stef Mientki wrote:
> How should I overload / disable a method ?
> In the example below I have defined the class "Power_Supply", derived
> from baseclass "device".
> The baseclass has a method "execute", which will be implemented in
Stef Mientki wrote:
> How should I overload / disable a method ?
> In the example below I have defined the class "Power_Supply", derived
> from baseclass "device".
> The baseclass has a method "execute", which will be implemented in most
> derived classes, but not in all.
> Now apparently it's no
How should I overload / disable a method ?
In the example below I have defined the class "Power_Supply", derived
from baseclass "device".
The baseclass has a method "execute", which will be implemented in most
derived classes, but not in all.
Now apparently it's not allowed to overload a method w