inherit from data type

Richard Lamboj richard.lamboj at bilcom.at
Tue May 11 15:48:38 EDT 2010


Am Tuesday 11 May 2010 20:16:50 schrieb Terry Reedy:
> On 5/11/2010 7:51 AM, Richard Lamboj wrote:
> > I just want to test what is possible with python and what not. There is
> > no problem that i need to solve.
> >
> > This is what i'am searching for:
> > http://docs.python.org/reference/datamodel.html
> >
> > Last year i have stopped programming python, but now i'am back with a big
> > black hole in my brain and i want to understand what the interpreter is
> > doing in the background.
>
> I suggest you (re)read and try examples in the Tutorial. It covers the
> basic syntax pretty well.

There are many programming languages, so i have forgotten that python data 
types are objects and not a "wrapper". So its a little bit confusing 
that "self" returns the value of the datatype and not something 
like "self.value". But who cares about logical mistakes in my brain.



More information about the Python-list mailing list