[Bf-python] typo in epydocs
Joseph Eagar
joeeagar at prodigy.net
Fri Jul 29 01:07:35 CEST 2005
Stephen Swaney wrote:
>On Thu, Jul 28, 2005 at 12:49:51PM -0700, Joseph Eagar wrote:
>
>
>>One idea would be to have .layer also accept strings, like say "1,4,6"
>>Unfortunately this would like require making a LayerMask object, so I
>>don't know if it's feasable. . .
>>
>>you could, for example, say if ob.layer == "1, 4, 5", and it would parse
>>the string down into the constituent bitmasks. Hm. You know, I could
>>do it. . .but I'm not familiar with the updated coding style your all
>>working on.
>>
>>
>
>If you look at the docs, you will see that there are two versions
>of this variable: Layers and layers. The old one uses a bitmask, the
>other uses a list of integers.
>
>I don't really see a need for a stringy version too.
>
>
>
You have a point there :)
joeedh
More information about the Bf-python
mailing list