Hi!

I have a Cython class COCH that inherits from RingElement. I define a
method __pow__ for it, and it gets some doc string (which means
tests).

I thought that such method would be a class_method or whatever.
Instead, I get
sage: COCH.__pow__
<slot wrapper '__pow__' of 'pGroupCohomology.cochain.COCH' objects>
sage: type(COCH.__pow__)
<type 'wrapper_descriptor'>

And what's worse, I seem to be unable to retrieve the documentation!
  sage: COCH.__pow__.__doc__
  'x.__pow__(y[, z]) <==> pow(x, y[, z])'
is not the documentation that I provided.

So, how can I get my docstring back?

Cheers,
Simon

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to