[Bf-python] typo in epydocs

Campbell Barton cbarton at metavr.com
Thu Jul 28 13:19:48 CEST 2005


Stephen Swaney wrote:

>On Thu, Jul 28, 2005 at 11:52:55AM +1000, Campbell Barton wrote:
>  
>
>>Epydoc object.Layers example is incorrect, confusing.
>>    
>>
>
>Do you mean the part about hex numbers? more details, please.
>  
>
Problem is -
Layer != Layers

Layers is correct, Layer is incorrect.

  *   Layers *

The object layers (also check the newer attribute |layers|). This value 
is a bitmask with at least one position set for the 20 possible layers 
starting from the low order bit. The easiest way to deal with these 
values in in hexadecimal notation. Example:

ob.Layer = 0x04 # sets layer 3 ( bit pattern 0100 )




More information about the Bf-python mailing list