[Bf-python] tp_getset update
Yehoshua Sapir
yasapir at gmail.com
Wed Aug 10 10:11:48 CEST 2005
> (3) does anyone have an idea how the doc field in the tp_getset is
> accessed? For example:
>
> {"bias",
> (getter)Lamp_getBias, (setter)Lamp_setBias,
> "Lamp shadow map sampling bias",
> NULL},
>
> If I try "print lamp.bias.__doc__" I get a doc string explaining how
> to use a float (which is the type of "bias"). I haven't found
> anything in the Python docs which explain how to access this field;
> maybe it isn't implemented yet?
help(lamp) and help(lamp.bias) work.
More information about the Bf-python
mailing list