Sean DiZazzo writes:
> I basically just want to create an alias to an attribute on an item's
> superclass.
This description – “attribute on an item's superclass” – does not match
what you have described in the rest of the message.
Note the difference between an attribute ‘spam’ on a class ‘Lore
On Thursday, February 1, 2018 at 10:23:06 AM UTC-8, Sean DiZazzo wrote:
> Hi!
>
> I basically just want to create an alias to an attribute on an item's
> superclass. So that after I create the subclass object, I can access the
> alias attribute to get the value back.
>
>
> class Superclass(ob
On Thu, Feb 1, 2018 at 11:44 AM, Sean DiZazzo wrote:
> On Thursday, February 1, 2018 at 10:37:32 AM UTC-8, Chris Angelico wrote:
>> On Fri, Feb 2, 2018 at 5:22 AM, Sean DiZazzo wrote:
>> > Hi!
>> >
>> > I basically just want to create an alias to an attribute on an item's
>> > superclass. So th
On Fri, Feb 2, 2018 at 5:44 AM, Sean DiZazzo wrote:
> On Thursday, February 1, 2018 at 10:37:32 AM UTC-8, Chris Angelico wrote:
>> On Fri, Feb 2, 2018 at 5:22 AM, Sean DiZazzo wrote:
>> > Hi!
>> >
>> > I basically just want to create an alias to an attribute on an item's
>> > superclass. So tha
On Thursday, February 1, 2018 at 10:37:32 AM UTC-8, Chris Angelico wrote:
> On Fri, Feb 2, 2018 at 5:22 AM, Sean DiZazzo wrote:
> > Hi!
> >
> > I basically just want to create an alias to an attribute on an item's
> > superclass. So that after I create the subclass object, I can access the
> >
On Fri, Feb 2, 2018 at 5:22 AM, Sean DiZazzo wrote:
> Hi!
>
> I basically just want to create an alias to an attribute on an item's
> superclass. So that after I create the subclass object, I can access the
> alias attribute to get the value back.
>
>
> class Superclass(object):
> def __in
Hi!
I basically just want to create an alias to an attribute on an item's
superclass. So that after I create the subclass object, I can access the alias
attribute to get the value back.
class Superclass(object):
def __init__(self, value):
"""
I want to pass x by refere