vocab question

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Fri Apr 13 17:45:07 EDT 2007


Steven Bethard a écrit :
> Bruno Desthuilliers wrote:
> 
>> Alan G Isaac a écrit :
>>
>>> Pardon the vocab question;
>>> I'm not a computer science type.
>>> According to the Reference Manual,
>>> a class defintion has the structure::
>>>
>>>         classdef  ::=  "class" classname [inheritance] ":" suite
>>>
>>> What is the entire part before the suite called?
>>
>>
>> A statement. In this case, a 'class' statement.
> 
> 
> Actually, the class statement includes the suite as well.

Well, technically, yes, but from a practical POV I'd say the "suite" is 
the class's body. Hmmm... Well, ok, you're right. Me go to bed.

> As far as I 
> know, there's no official term for the first four elements of a class 
> statement. I'd probably call it the class statement header.
> 
> STeVe



More information about the Python-list mailing list