vocab question

Steven Bethard steven.bethard at gmail.com
Fri Apr 13 16:14:39 EDT 2007


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. 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