On Mar 4, 12:14 am, "Ziga Seilnacht" <[EMAIL PROTECTED]> wrote:
> NickAlexanderwrote:
> > Hello,
>
> > I am writing a python extension (compiled C code) that defines an
> > extension type with PyNumberMethods. Everything works swimmingly,
> > except I can't deduce a clean way to set the docstring
Nick Alexander wrote:
> Hello,
>
> I am writing a python extension (compiled C code) that defines an
> extension type with PyNumberMethods. Everything works swimmingly,
> except I can't deduce a clean way to set the docstring for tp_*
> methods. That is, I always have
>
> type.__long__.__doc__ ==
Hello,
I am writing a python extension (compiled C code) that defines an
extension type with PyNumberMethods. Everything works swimmingly,
except I can't deduce a clean way to set the docstring for tp_*
methods. That is, I always have
type.__long__.__doc__ == 'x.__long__() <==> long(x)'
which