# HG changeset patch # User Paul Boddie # Date 1241547951 -7200 # Node ID eb198a981723ad3be887724e530373bc0242de86 # Parent eb7b56b0caa3f8cbce14518ee6e453d26f9e9e75 Added note about accommodating default arguments on all object types. diff -r eb7b56b0caa3 -r eb198a981723 docs/concepts.txt --- a/docs/concepts.txt Fri May 01 02:38:05 2009 +0200 +++ b/docs/concepts.txt Tue May 05 20:25:51 2009 +0200 @@ -220,6 +220,19 @@ removed and the attrcode is not specified for classes: the presence of an attrcode indicates that a given object is an instance. +Attributes +---------- + +For classes, modules and instances, the attributes in the structure correspond +to the attributes of each kind of object. For functions, however, the +attributes in the structure correspond to the default arguments for each +function, if any. + +The two kinds of structure attribute should be accommodated by both groups of +objects, since without a default argument section, classes and instances may +not employ default arguments in their respective instantiator/__init__ and +__call__ methods. + Structure Types ---------------