On Tue, Nov 11, 2008 at 11:16 AM, RinKaMeAri <[EMAIL PROTECTED]> wrote:
> On Nov 11, 9:12 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>> RinKaMeAri wrote:
>> > Hi!
>> > Could you imagine any way to block access to the base class public
>> > methods?
>> > Here is an example:
>> > class B:
>> > d
RinKaMeAri wrote:
> On Nov 11, 9:12 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>> RinKaMeAri wrote:
>>> Hi!
>>> Could you imagine any way to block access to the base class public
>>> methods?
>>> Here is an example:
>>> class B:
>>> def public_method():
>>> pass
>>> class A(B):
>>>
On Nov 11, 9:12 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> RinKaMeAri wrote:
> > Hi!
> > Could you imagine any way to block access to the base class public
> > methods?
> > Here is an example:
> > class B:
> > def public_method():
> > pass
>
> > class A(B):
> > def public_a_metho
RinKaMeAri wrote:
> Hi!
> Could you imagine any way to block access to the base class public
> methods?
> Here is an example:
> class B:
> def public_method():
> pass
>
> class A(B):
> def public_a_method():
> pass
>
> def a = A()
>
> Is there any way to block the call a
Hi!
Could you imagine any way to block access to the base class public
methods?
Here is an example:
class B:
def public_method():
pass
class A(B):
def public_a_method():
pass
def a = A()
Is there any way to block the call a.public_method() without any
changes to B class?