Lisandro Dalcin, 11.03.2010 15:40: > On 11 March 2010 04:18, Stefan Behnel wrote: >> "ATTRNAME : CTYPE [ = DEFAULT]" > > PS: Are you aware that default values does not apply here? Cython does > not support default values for cdef members... I cannot remember if it > was decided that this support should be in (after all, it is sugar for > saving lines in __cinit__).
I know that they are not currently supported, but if we think about an automatically generated docstring here, we should try to catch all cases before hand, especially the IMHO not so uninteresting one of documenting a default value. If we ever decide to support that feature, the generated docstring would make it more than just syntactic sugar. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
